C# people what's your workaround for Priority queue in online assessments
Anonymous User
540

I recently took an assessment on hackerrank. That question needed priority queue and .NET version they are using did not have it (.NET 6 will have priority queue). I had to sort mupltiple times as a workaround (we had to select min value, add something to it then add it back to queue). As expected not all test cases passed and I failed the assessment.

I am not confident enough to switch completely to Java, I need occasional google searches for syntax and stuff. Just looking for suggestions about how do you work around this issue?

Comments (6)