Skip to content

Bhanu's Blog

it's not about being the best it's about being better than yesterday

Bhanu's Blog

it's not about being the best it's about being better than yesterday

Day: February 16, 2024

Leetcode

1481. Least Number of Unique Integers after K Removals

  • bhanunadar
  • Posted on February 16, 2024

Understanding the Problem: Before we dive into the code, let’s take a moment to understand the problem at hand. We’re given an array of integers and a value k, representing the maximum number of elements we can remove from the array. Our goal is to determine the least number of unique integers remaining in the…

Read More

Recent Posts

  • My Experience with LG Ultragear 32GS60QC (32 inch)
  • TIL: Value Classes
  • Counting Subarrays Where the Max Appears At Least K Times (LeetCode 2962)
  • Solo motorcycle trip to Ratnagiri from Mumbai
  • How to Check If a Private Key Matches a Certificate

Copyright © All rights reserved. Proudly powered by WordPress | Theme: Blog Nano by ThemeMiles.