Find k th index character of a binary string obtained after N iteratoins. In each iteration - '0' becomes '10' and '1' becomes '01'

后端 未结 0 1441
忘掉有多难
忘掉有多难 2020-12-31 01:16

I am trying to identify a solution (preferably in JAVA) for the given scenario :

Input :

  • Binary String : e.g. "1001"
相关标签:
回答
  • 消灭零回复
提交回复
热议问题