How to implement an assosiative array functionality using dynamic array

In reply to Suman R:
I’ll give you a hint: It takes two dynamic arrays to implement the functionality of one associative array.