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 :)
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 :)
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 :)