Please give a detailed solution with an explanation to the question below. For the programming questions, please use both Java and C++.
Extracted text: Programming Describe how you would reverse a singly linked list. Given a sequence of numbers (positive or negative integers) output true whenever you see any two adjacent numbers that sum to 10. Given the same sequence output true/one whenever you see a zero crossing (+ to – or – to +). Q. Create a routine to generate the Fibonacci sequence shown: A: The Fibonacci numbers are 0, 1, 1, 2, 3, 5, 8, 13, ...
Extracted text: Logic Adam and Bob have exact speeds for walking and running - neither Adam outwalks Bob, nor Bob outruns Adam. But for a given distance, Adam runs half the time, then walks another half. Bob runs half the distance, then walks another half. If they were to compete, which distance would Adam win at, and which distances would Bob be the winner at? Bridge Crossing The CEO, VP, Engineer and Intern are heading to a meeting which starts in 17 minutes: They come to rickety old wooden bridge. The bridge is weak and only able to carry the weight of two of them at a time. Because they are in a rush and the light is fading they must cross in the minimum time possible and must carry a torch (flashlight,) on each crossing. They only have one torch and it can't be thrown. Because of their different fitness levels and some minor injuries they can all cross at different speeds. The Intern can cross in 1 minute, the Engineer in 2 minutes, the VP in 5 minutes and CEO in 10 minutes. How can they make the meeting on time on the other side of the bridge? Spinning Disk If you have a spinning disk that is half white and half black can you use sensors to determine whether the disk is spinning clockwise or anti-clockwise?