LeetCode Question · May 2020

Facebook | Phone | Nth Digit

7 upvotes 2,083 views 5 replies

Question Details

You have an infinite string whose pattern is natural number sequence. "12345678910111213141516..100101112..". The string itself is not in memory. Return kth character. Ex: k =1 return 1 k = 10 return 1 k=11...

Full Details

🔒

Unlock full leaked content

Full insider details, leaked discussions, and candidate experiences.

Get Premium →

Topics

Strings