HARMAN interview question

linklist program, prime number, c++ concepts