Forem

# dsa

Posts

👋 Sign in for the ability to sort posts by relevant, latest, or top.
LeetCode Solution: 283. Move Zeroes

LeetCode Solution: 283. Move Zeroes

Comments
5 min read
Efficiently Moving Negative Elements to the End of an Array While Preserving Order

Efficiently Moving Negative Elements to the End of an Array While Preserving Order

Comments
1 min read
Finding the Maximum Sum Subarray Using Kadane’s Algorithm

Finding the Maximum Sum Subarray Using Kadane’s Algorithm

Comments
1 min read
LeetCode Solution: 189. Rotate Array

LeetCode Solution: 189. Rotate Array

Comments
6 min read
# I Overcomplicated This Grid Problem… Until Prefix Sum Saved Me

# I Overcomplicated This Grid Problem… Until Prefix Sum Saved Me

1
Comments
2 min read
Two Sum & Sorted Two Sum

Two Sum & Sorted Two Sum

Comments
1 min read
I Overcomplicated This Grid Problem… Until Prefix Sum Saved Me

I Overcomplicated This Grid Problem… Until Prefix Sum Saved Me

Comments
2 min read
Finding the Next Lexicographical Permutation of an Array

Finding the Next Lexicographical Permutation of an Array

Comments
1 min read
Finding the Maximum Subarray Sum Using Kadane’s Algorithm

Finding the Maximum Subarray Sum Using Kadane’s Algorithm

Comments
1 min read
Maximum Subarray Sum in Java

Maximum Subarray Sum in Java

Comments
2 min read
Finding the Kth Smallest Element in an Array Using Java

Finding the Kth Smallest Element in an Array Using Java

Comments
2 min read
Sorting an Array of 0s, 1s, and 2s Using Java

Sorting an Array of 0s, 1s, and 2s Using Java

Comments
2 min read
Finding Minimum and Maximum in an Array (Java)

Finding Minimum and Maximum in an Array (Java)

Comments
1 min read
Move Zeros

Move Zeros

Comments
1 min read
Sort an Array of 0s, 1s and 2s

Sort an Array of 0s, 1s and 2s

Comments
2 min read
👋 Sign in for the ability to sort posts by relevant, latest, or top.