Round 1
Questions:
You are given pi
in form of a string e.g. pi = "314159265359"
You have to return a list of indexes where i = pi[i]
- Consider 1 based indexes.
- For multi-digit indexes this is the matching criteria.
i = 456
andpi[454] = '4' pi[455] = '5' pi[456] = '6'
- String length can go up to 10^6.
Candidate's Approach
No approach provided.
Interviewer's Feedback
No feedback provided.