1. You have two containers of 5 litres and 3 litres. How can you measure out exactly 4 litres of water?
2. What is IP forwarding?
3. How do you start coding?
4. Remove Consecutive Duplicates Problem Statement Given a string S, your task is to recursively remove all consecutive duplicate characters from the string. Input: String S Output: Output string Constraints: 1 <= |S| <= 103 |S| represents the length of string S Note: The solution must handle consecutive duplicate removal in a recursive manner.
5. You have a 30-foot-long wall. A bug climbs 3 feet and falls 1 foot in 1 hour. How many hours will it take to climb the wall?