Latest Coding Problems

  • Merge Sorted Array | LeetCode # 88

    You are given two integer arrays nums1 and nums2, sorted in non-decreasing order, and two integers m and n, representing the number of elements in nums1 and nums2 respectively.
    Read More
  • Find Numbers with Even Number of Digits | LeetCode # 1295

    Given an array nums of integers, return how many of them contain an even number of digits.
    Read More
  • Reverse Prefix of Word | LeetCode # 2000

    Given a 0-indexed string word and a character ch, reverse the segment of word that starts at index 0 and ends at the index of the first
    Read More
  • N-th Tribonacci Number | LeetCode # 1137

    The Tribonacci sequence Tn is defined as follows: T0 = 0, T1 = 1, T2 = 1, and Tn+3 = Tn + Tn+1 + Tn+2 for n >= 0.Given n
    Read More
  • Shuffle String | LeetCode 1528

    You are given a string s and an integer array indices of the same length. The string s will be shuffled such that the character
    Read More
  •  Kth Largest Element in an Array | LeetCode 215

    In this blog, we will solve LeetCode Coding Problem Kth Largest Element in an Array. We solve this coding problem by using min heap.
    Read More
  • Check If Two String Arrays are Equivalent | LeetCode 1662

    In this blog, we will solve LeetCode Coding Problem "Check If Two String Arrays are Equivalent". We will solve this coding problem by
    Read More
  • Divisible and Non-divisible Sums Difference | LeetCode 2894

    In this blog post, we will solve LeetCode Coding Problem "Divisible and Non-divisible Sums Difference". We will solve this coding problem by
    Read More
  • Find the Duplicate Number | LeetCode 287

    In this blog, we will solve LeetCode Coding Problem "Find the Duplicate Number". We will use tortoise and hare algorithm to solve this
    Read More