NetApp Interview Question

Reverse a Linked List, Find prime numbers in a range