is there any alternative that I can use in java for ordered_Set I have came across a problem https://mirror.codeforces.com/contest/1676/problem/H2 and most of the people out there have solved it using ordered_set but how can I implement it in java or is there any better way or alternative that I can use in place of ordered_set