#leetcode

Read more stories on Hashnode

Articles with this tag

Writer's note: Found this draft sitting too long in Drafts. Lost the timing to publish in May so backdated it to May but published in July. Problem...

Problem Statement Given a valid (IPv4) IP address, return a defanged version of that IP address. A defanged IP address replaces every period "." with...

Problem statement: Given the array nums, for each nums[i] find out how many numbers in the array are smaller than it. That is, for each nums[i] you...

Problem Statement You're given strings J representing the types of stones that are jewels, and S representing the stones you have. Each character in...

Problem statement: Given a non-negative integer num, return the number of steps to reduce it to zero. If the current number is even, you have to...

Problem statement: Given the array candies and the integer extraCandies, where candies[i] represents the number of candies that the ith kid has. For...