# LeetCode 268. Missing Number

Description https://leetcode.com/problems/missing-number/ Given an array containing n distinct numbers taken from 0, 1, 2, …, n, find the one that is missing from…

# LeetCode 88. Merge Sorted Array

Description https://leetcode.com/problems/merge-sorted-array/ Given two sorted integer arrays nums1 and nums2, merge nums2 into nums1 as one sorted array. Note: The number of elements initialized in nums1 and nums2 are m and n respectively. You may…

# LeetCode 136. Single Number

Description https://leetcode.com/problems/single-number/ Given a non-empty array of integers, every element appears twice except for one. Find that single one. Note: Your algorithm should have…

# LeetCode 36. Valid Sudoku

Description https://leetcode.com/problems/valid-sudoku/ Determine if a 9×9 Sudoku board is valid. Only the filled cells need to be validated according to the following rules: Each…

# LeetCode 48. Rotate Image

Description https://leetcode.com/problems/rotate-image/ You are given an n x n 2D matrix representing an image. Rotate the image by 90 degrees (clockwise). Note: You have…

# LeetCode 283. Move Zeroes

Description https://leetcode.com/problems/move-zeroes/ Given an array nums, write a function to move all 0‘s to the end of it while maintaining the relative…

# LeetCode 350. Intersection of Two Arrays II

Description https://leetcode.com/problems/intersection-of-two-arrays-ii/ Given two arrays, write a function to compute their intersection. Example 1: Input: nums1 = [1,2,2,1], nums2 =…

# LeetCode 189. Rotate Array

Description https://leetcode.com/problems/rotate-array/ Given an array, rotate the array to the right by k steps, where k is non-negative. Example 1: Input: [1,2,3,4,5,6,7] and k…

# LeetCode 217. Contains Duplicate

Description https://leetcode.com/problems/contains-duplicate/ Given an array of integers, find if the array contains any duplicates. Your function should return true if…

# LeetCode 66. Plus One

Description https://leetcode.com/problems/plus-one/ Given a non-empty array of digits representing a non-negative integer, plus one to the integer. The digits are stored such that…