Hackerrank Java List Solution
For this problem, we have types of queries you can perform on a List:
Insert at index :
Insert x y
Delete the element at index :
Delete x
Given a list, , of integers, perform queries on the list. Once all queries are completed, print the modified list as a single line