Recent posts

Problem: Remove Duplicates from Sorted Array II

2 minute read

Problem Statement ``` Given an integer array nums sorted in non-decreasing order, remove some duplicates in-place such that each unique element appears at mo...

Problem of The Day: Sort Colors

1 minute read

Problem Statement ``` Given an array nums with n objects colored red, white, or blue, sort them in-place so that objects of the same color are adjacent, with...

Problem of The Day: Next Permutation

2 minute read

Problem Statement ``` A permutation of an array of integers is an arrangement of its members into a sequence or linear order.