I am looking for sample code which can impress an interviewer.
Can someone help me with algo and code?