Complete-Preparation

🎉 One-stop destination for all your technical interview Preparation 🎉

View the Project on GitHub

Leetcode Problem 1400-1499

1413. Minimum Value to Get Positive Step by Step Sum 🌟

PrefixSum O(N) Time


1431. Kids With the Greatest Number of Candies 🌟

O(N) Time and O(N) Space Solution:


1470. Shuffle the Array 🌟

O(N) Time and O(N) Space solution


1480. Running Sum of 1d Array 🌟

O(N) Time and O(N) Space solution

O(N) Time and O(1) Space optimization