Search posts, tags, users, and pages
Design a class that efficiently finds the kth largest element in a stream of integers, where new values are continuously added and we need to return the kth largest element after each addition.
tracelit
@tracelit
Markdown supported · ⌘↵ to post
No responses yet.