Google Interview - Screening Round - got Codeforces Div 1 - E(CCPC Finals) (CLEARED)

Difficulty: EASYCategory: InterviewExperienceFrequency: 1Asked On 2025-05-02Added By Anonymous
Source: Link

Google can potentially screw around with you when it comes to questions. I saw previous questions for screeing round with 2 pointers, knapsack DP, and rather simpler topics. I expected the same or even a little harder.


I got asked a CCPC Finals (Chinese ICPC) E question for screening round, and got around 30-35 mins to solve it. It was hard, but kept my cool and outlined the approach, wrote good code, and almost tied ends neatly.


It was impossible to solve the entire question in 30 mins (and I am not an LGM on Codeforces). I got a call from my recruiter today, and she said the round went really well, the only thing was me needing to improve my debuging skills.


Here's the question in case someone benefits - https://codeforces.com/gym/103860/problem/E

Comments