Google Phone screen | SWE3 | SWEIII | L4 | Bangalore
Difficulty: EASYCategory: InterviewExperienceFrequency: 1Asked On 2024-12-22Added By Anonymous
Source: Link
🧭 Experience: unknown
✅ Outcome: unknown
💰 Compensation: unknown
📍 Location: Bangalore
🏢 Company: Google
🎓 Education: unknown
🎁 Benefits: unknown
📅 Offer Date: unknown
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` and `pi[454] = '4' pi[455] = '5' pi[456] = '6'`
- string length can go upto 10^6
✅ Outcome: unknown
💰 Compensation: unknown
📍 Location: Bangalore
🏢 Company: Google
🎓 Education: unknown
🎁 Benefits: unknown
📅 Offer Date: unknown
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` and `pi[454] = '4' pi[455] = '5' pi[456] = '6'`
- string length can go upto 10^6