Scalability issue. Function receiving a streaming array of characters. Length might be in millions. So, array.length() is out of the question. Array is sorted ascending. Contains duplicates. Find the nth largest element.
Check out your Company Bowl for anonymous work chats.