Caterpillar Interview Question

Basic DSA questions and other oops concepts