1,724 articles across 10 categories

Stories, Tutorials & Life Tips

Deep dives on coding, health, recipes, travel and everything in between.

📍 Explore Reading Paths

Follow curated journeys from beginner to expert

Duplicate Zeros - Array - Easy - LeetCode
Featured

Duplicate Zeros - Array - Easy - LeetCode

Given a fixed length array arr of integers, duplicate each occurrence of zero, shifting the remaining elements to the right. Note that elements beyond the length of the original array are not written

1 min read19 Jun 2020
Read article
Relative Sort Array - Easy - LeetCode

Relative Sort Array - Easy - LeetCode

Given two arrays arr1 and arr2, the elements of arr2 are distinct, and all elements in arr2 are also in arr1. Sort the

2 min18 Jun
Final Prices With a Special Discount in a Shop - Array - Easy - LeetCode

Final Prices With a Special Discount in a Shop - Array - Easy - LeetCode

Given the array prices where prices[i] is the price of the ith item in a shop. There is a special discount for items in

2 min17 Jun
Sushant Singh Rajput's sister-in-law passes away in Bihar

Sushant Singh Rajput's sister-in-law passes away in Bihar

Sister-in-law of late Bollywood actor Sushant Singh Rajput passed away in Bihar, multiple media reports stated.  

1 min16 Jun
Sushant Singh Rajput's last seen Photo with Rhea Chakraborty goes viral

Sushant Singh Rajput's last seen Photo with Rhea Chakraborty goes viral

Soon after the news of actor Sushant Singh Rajputs sudden death sent shockwaves all over, an old picture of the actor wi

1 min15 Jun
The smiles of future

The smiles of future

Kids, aren’t they the same everywhere? Aren’t the challenges for the guardians the same and aren’t the

3 min14 Jun
Should India pursue Nuclear Power?

Should India pursue Nuclear Power?

Kudankulam, supposedly one of India’s most successful nuclear power plants, faced a huge uproar by civil society p

2 min14 Jun
The endangered source of life: a view from the third pole

The endangered source of life: a view from the third pole

Tibet, the roof of the world is the highest and the largest plateau that has ever existed on Earth. It is the source of

3 min14 Jun
Cleaning India, Digitalising the world: Modi’s Act in the East

Cleaning India, Digitalising the world: Modi’s Act in the East

There are issues, many coming into the limelight after decades of silence, bigger than they look, of solidarity with you

3 min14 Jun
Sushant Singh Rajput commits suicide, found hanging in Bandra flat: Report

Sushant Singh Rajput commits suicide, found hanging in Bandra flat: Report

Bollywood actor Sushant Singh Rajput committed suicide in Mumbai on Sunday. According to reports, Sushant was found hang

2 min14 Jun
Running Sum of 1d Array - Easy - LeetCode

Running Sum of 1d Array - Easy - LeetCode

Given an array nums. We define a running sum of an array as runningSum[i] = sum(nums[0]…nums[i]). Return the run

1 min14 Jun
Number of Equivalent Domino Pairs - Array - Easy - LeetCode

Number of Equivalent Domino Pairs - Array - Easy - LeetCode

Given a list of dominoes, dominoes[i] = [a, b] is equivalent to dominoes[j] = [c, d] if and only if either (a==c and b==

2 min13 Jun
Find Words That Can Be Formed by Characters - Array - Easy - LeetCode

Find Words That Can Be Formed by Characters - Array - Easy - LeetCode

You are given an array of strings words and a string chars. A string is good if it can be formed by characters from cha

2 min13 Jun
Distance Between Bus Stops - Array - Easy - LeetCode

Distance Between Bus Stops - Array - Easy - LeetCode

A bus has n stops numbered from 0 to n - 1 that form a circle. We know the distance between all pairs of neighboring sto

3 min13 Jun
Day of the Week - Array - Easy - LeetCode

Day of the Week - Array - Easy - LeetCode

Given a date, return the corresponding day of the week for that date. The input is given as three integers representing

1 min12 Jun
Blog — Page 25 | AskGif