You are given pi in the form of a string, e.g., pi = "314159265359".
You have to return a list of indices where i = pi[i].
Consider 1-based indices.
For multi-digit indices, this is the matching criteria:
If i = 456, then pi[454] = '4', pi[455] = '5', and pi[456] = '6'.
String length can go up to 10^6.
The following metrics were computed from 116 interview experiences for the Google Software Engineer role in Bengaluru, Karnataka.
Google's interview process for their Software Engineer roles in Bengaluru, Karnataka is extremely selective, failing the vast majority of engineers.
Candidates reported having very good feelings for Google's Software Engineer interview process in Bengaluru, Karnataka.