The wire must be continuous between the light and both switches then single to the power source. Remember the switch breaks the current, so either switch would.
one light controlleds by two switch is knownas stair case wiring it is used to control the light light which is top of our house from one place without any suffering
A 3-way Light Circuit has 2-wire cable into the first switch. A 3-way cable connects the first switch and the light Fixture. Another 3-wire cable goes from the Light Fixture to the second switch establishing a 3-way light.