Ivanti Interview Question

Basic Data structure and logical problems.