Daily Leetcode challenge🔥| Kth Largest Element in a Stream | Asked by Amazon, Google|In just 10 mins
ฝัง
- เผยแพร่เมื่อ 12 ก.ย. 2024
- Welcome to our channel! We're two dedicated students from a 3rd-tier college, and we've realized that relying solely on college for placements isn't enough. We believe in taking proactive steps to improve our coding skills and boost our chances in the job market.
To help you do the same, we'll be uploading daily LeetCode problems, providing concise and efficient solutions. Our goal is to save you time-something every college student values-while enhancing your problem-solving abilities.
Today's Problem: leetcode.com/p...
Join us on this journey to become better coders and secure your dream job. Don't forget to like, comment, and subscribe for daily updates!
Thanks for watching!
A mistake in Time complexity. Since the example for using k as 3, at that moment I said space is O(1). But actually space is variable for different test cases, depending on k. So space complexity is O(k)
hmm thumbnail changed
yes, yesterday question was even difficult for me. But since I already had in my mind to work on YT but question's complexity was quite high, I thought of making the thumbnail better. ;)