⚡ Build the skills to land top-paying quant jobs. Offer ends in 25d 09h 51m 12s25 days 9 hours 51 minutes 12 seconds.
You are in a river of unknown length, which flows with unknown constant velocity towards the far end. If you do not swim at all (you just drift with the current), you reach the far end in 6 seconds. If you swim downstream at 3 meters per second relative to the water, you reach the far end in 4 seconds. What is the length of the river in meters? Give your answer as an integer.