1 Comment
User's avatar
⭠ Return to thread
SWE's avatar

In "return the output in any order" situation, the result can be verified either by sorting data or using a hashtable. That's actually one of leetcode problems itself :)

Expand full comment