Results for Leet Code

Thousand Separator

someone August 23, 2020
Question, given an integer & you have to add thousand separator & return it as string. First we will store given number in string...Read More

Minimum Operations to Make Array Equal

someone August 19, 2020
Minimum Operations to Make Array Equal you are given array of length n . You can choose any two index & subtract / add one to that inde...Read More

Pascal's Triangle

someone August 18, 2020
We will discuss Pascal's Triangle which is a LeetCode question.   Related LeetCode questions : Similar Questions   Approach :   1. Fi...Read More

Minimum Moves to Equal Array Elements II

someone August 16, 2020
Question link .  We will solve this question using only two case. First case when length of array is odd & second when length of array...Read More

Check if both binary tree are equal

someone August 07, 2020
 In this we have to check whether given two trees are equal or not. It is also present in LeetCode. Question In this we have to return boo...Read More
Powered by Blogger.