input changed
array pair subtraction
insert in sorted circular linked list