• + 1 comment

    Hey,

    Thanks for your feedback but i am trying my best to provide generic algorithm which can be used in any programming language.

    In most of the cases, we use map in java but array is an equivalent data structure which can be used in place of map and do the same thing.

    If you came across such senario, please let us know.

    I hope it will help.