← All problemsSign in

Ashishgup and Interviews

Ashishgup wants to conduct interviews to hire people to work for him. He decided to automate the interview process to save time. The server asks $N$ problems to the interviewee and stores the amount of time a candidate takes to solve each problem. More formally, the data is stored as an array $A$, where the $i$-th integer $A_i$ denotes the time (in seconds) the candidate took to solve the $i$-th p

HINT LADDERno hints yet
L1 Observation
L2 Technique
L3 Approach
L4 Pseudo-code
🔒
L5 Full solution
L5 unlocks only if you insist twice
solution.cppC++17

CodeSearch Tutor

Hints, not spoilers — it won’t hand over the full solution unless you insist.

voice by Sarvam AI

Sign in to chat with the tutor and save your progress.

Sign in to start