Alt of ordered set(c++) in java

Revision en1, by yash13203, 2022-05-12 11:53:05

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

Tags java, c++

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English yash13203 2022-05-12 11:53:05 358 Initial revision (published)