atfinity Interview Question

Some basic algorithmic questions