1/. Hi all,
I had my Google preliminary rounds today and feeling a bit uneasy about how it went.
DSA Round:
I was given a question similar to “Count Visible People” but with a twist in visibility rules.
In this version, if the observer is taller, shorter people in between ..
don’t block the view.
Example:
Array: 1, 10, 6, 7, 9, 2, 4, 5
For 5, visible people are: 4, 2, 9, 10
(In the usual LeetCode version, 2 wouldn’t be visible, but here it is.)
For the initial part, I was able to write an optimal O(n) solution.
Then the interviewer asked a follow-up
Starting this account to share real value 🚀
• Interview experiences
• AI & tech insights
• LeetCode & DSA
Learning, building, and sharing everything 💻
Follow along 👇
#AI#InterviewArchives#Coding
292K Followers 301K FollowingLA GLORIA NO CONSISTE EN NO CAER NUNCA, SINO EN LEVANTARTE CADA VEZ QUE TE CAES! HALA MADRID HASTA LA MUERTE! ILLA, ILLA, ILLA, JUANITO MARAVILLA!
54K Followers 14K FollowingMuslim❤ lover of prophet Muhammad S.A.W💚 Sufism🤍 Hausa👌 A.B.U Alumni🎓 Real Madrid fan⚽ Not saint 🙏 A student of knowledge 📙a textile dealer✂️
292K Followers 301K FollowingLA GLORIA NO CONSISTE EN NO CAER NUNCA, SINO EN LEVANTARTE CADA VEZ QUE TE CAES! HALA MADRID HASTA LA MUERTE! ILLA, ILLA, ILLA, JUANITO MARAVILLA!
112K Followers 68K FollowingConforming depresses the hell out of me, Life With Sego (Talk show), Fitness lover, Trainer of Trainers, Assessor. Music, fashion. I despise Patriarchy, HR Guru
85K Followers 81K Following#mutual\investor \If you unfollow me, I will unfollow you. \We are currently accepting advertising requests. Please contact us via direct message.📩