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 MoreFind 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 MoreReverse 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 MoreN-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 MoreShuffle 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 MoreCheck 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 MoreDivisible 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 MoreFind 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