Hexaware Technologies Interview Question

DSA related one was based on array and other was normal logic based