Nokia Interview Question

Basic python codes Data structure