【lc刷题】1545. Find Kth Bit in Nth Binary String
题目:Given two positive integers n and k, the binary string Sn is formed as follows:S1 = “0”Si = Si-1 + “1” + reverse(invert(Si-1)) for i > 1Where + denotes the concatenation operation, reverse(x) returns the reversed string x, and invert(x) inverts
原创
2020-08-09 14:36:10 ·
247 阅读 ·
0 评论