Problem Statement Given an array and a sum k, we need to print the length of the longest subarray that sums to k. (link) Brute Force Approach To...

268. Missing Number Problem Statement Given an array nums containing n distinct numbers in the range [0, n], return the only number in the range that...

Search in Rotated Sorted Array I Problem Statement There is an integer array nums sorted in ascending order (with distinct values) Given the array...

Problem Statement Given an integer array nums, move all 0's to the end of it while maintaining the relative order of the non-zero elements....

I. Left Rotate an Array by One Problem Statement Given an array of N integers, left rotate the array by one place. (link) Optimal Approach To perform...

I. Largest Element in the Array Problem Statement Given an array, we have to find the largest element in the array. (link) Optimal Solution We assume...