← All problemsSign in

Santosh And His LightSabers

Being the android programmer geek, Santosh is; he wanted to create a game for the newly releasing Starwars franchise. But currently he's stuck. When two light sabers strike he doesn't know where they struck each other to animate the hit. Note that the light sabers would never be co-linear since that would destroy it's core. Given two line segments representing the light saber, find if the given l

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