Puzzle Game
CodeChefOpen on judge ↗
Math Challenge Janardan is smart in solving math puzzles, one day his teacher asked him to solve a puzzle and gave him a set of integers $A[i]$ where i is from 1 to N and asked him to find the minimum absolute difference which can be obtained between any two elements from the set of integers. Seeing such large numbers Janardan is scared and asks for your help to pass this challenge. Help Janard
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