2
ben-dev
8y

String[] hidingPlaces = new String[1000000];
hidingPlaces[Math.rand()*1000000] = "bug";
findBug(hidingPlaces);

public int findBug(String [] are) {
// todo: return index of bug with complexity < O(1)
}

Comments
Add Comment