

Duplicate Zeros
Given a fixed-length integer array arr, duplicate each occurrence of zero, shifting the remaining elements to...

Remove Duplicates from Sorted Array
Given an integer array nums sorted in non-decreasing order, remove the duplicates in-place such that each unique element appears only once....

Candy Crush
This question is about implementing a basic elimination algorithm for Candy Crush.

Find Numbers with Even Number of Digits
Given an array nums of integers, return how many of them contain an even number of digits.

Add Two Numbers
You are given two non-empty linked lists representing two non-negative integers. The digits are stored in reverse order,...

Max Consecutive Ones
Given a binary array nums, return the maximum number of consecutive 1's in the array.