← All problemsSign in

Sure Spot Shot

Rahul is a very good problem solver but is quite mischievious and loves to trick people with his problem solving skills. This time he aimed her sister Neha, who is very fond of collecting unique and precious things.Rahul secretely had all her collectibles at $N$ different spots each whose values are given in array $A$. He asked her sister to find total number of sure shot spots. A spot is a sure

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