Paytm FTE question
Difficulty: EASYCategory: InterviewExperienceFrequency: 1Asked On 2020-09-13Added By Anonymous
Source: Link
Company: Paytm
Role: unknown
Stage: unknown
Location: unknown
Year: unknown
Original Post:
Find the numbers of integer of Kth digit of binary representation such that there is no consecutive one's . eg.. K=2, output :3, Explanation: 00 ,01,10 eg.. K=3 ,output: 5 ,Explanation : 000,001,010,101,100
Role: unknown
Stage: unknown
Location: unknown
Year: unknown
Original Post:
Find the numbers of integer of Kth digit of binary representation such that there is no consecutive one's . eg.. K=2, output :3, Explanation: 00 ,01,10 eg.. K=3 ,output: 5 ,Explanation : 000,001,010,101,100