Keys and Differences
CodeChefOpen on judge ↗
Sammy is an amateur hacker who is working with the biggest crime lord in India Babban Bhai. As a test exercise, Babban Bhai has given Sammy a set of numbers and has asked him to find a key from the given numbers. The numbers are to be arranged in a circle such that the smallest number(s) are positioned at 12 'o' clock, while the largest numbers are arranged at 6 'o' clock, and the rest are arrang
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.
Sign in to chat with the tutor and save your progress.
Sign in to start