Solve linked list reversal and minima problems | Fortinet Interview Question