← All problemsSign in

Blue Diamond

Problem Statement Mr. Jackson acquires a rare blue diamond worth $9.6 million. Its perfect quality, its large size, and its rare color makes it strikingly unique and beautiful. And this is exactly why his sole aim is to keep it under lock and key. So he buys a safe that has a 6-number combination. Mr. Jackson is a very forgetful man so help him come up with a combination that he won’t forget. For

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