Tower tower
CodeChefOpen on judge ↗
.There are N towers in a city named as 1,2,3......N . To send signal from one tower to another tower we have to set up some instruments ,but the problem with the instrument is that they can only connect two towers .Therfore, we uses N-1 instruments to connect all the towers such that there is only one unique path to transfer signals from one tower to another. The speed of transfering the signal i
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