Leetcode 189. Rotate Array
https://leetcode.com/problems/rotate-array/ Given an array, rotate the array to the right by k steps, where k is non-negative. Follow up: Try to come up as many… Read More »Leetcode 189. Rotate Array
https://leetcode.com/problems/rotate-array/ Given an array, rotate the array to the right by k steps, where k is non-negative. Follow up: Try to come up as many… Read More »Leetcode 189. Rotate Array
Problem Link Given an array of integers nums and an integer target, return indices of the two numbers such that they add up to target. You may assume that each… Read More »Leetcode 1. Two Sum with easy explanation.