Comment Comment by a115ltd Knowing the count also gives you a O(n) way of finding a solution. parent a115ltd 4 days ago