You're removeDups method shouldn't access any static fields at all, instead it should operate on a local array. The method can then return that array, so your code would look something like this:
...
Type: Posts; User: helloworld922
You're removeDups method shouldn't access any static fields at all, instead it should operate on a local array. The method can then return that array, so your code would look something like this:
...
Hmm, the only "reasonable" way I can think of solving this problem is to perform the remove duplicates operation twice: The first time is to satisfy the SortArray constructor requirements, and the...