← All problemsSign in

Andrew and his friends

Three friends Andrew, Bob and Catherine live at three different place A, B and C respectively, such that they form a triangle. They decide to have a get together at place H and starts to drive by their car in order to meet at one place. The direction of motion of each friend is as shown in figure. Bob walk from that path, which passes through centroid of the triangle. Andrew have very rigid perso

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