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!

ความคิดเห็น • 3

  • @3rd_tier-coder
    @3rd_tier-coder  หลายเดือนก่อน

    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)

  • @jatin5933
    @jatin5933 หลายเดือนก่อน +2

    hmm thumbnail changed

    • @3rd_tier-coder
      @3rd_tier-coder  หลายเดือนก่อน

      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. ;)