# LeetCode 475. Heaters

Description https://leetcode.com/problems/heaters/ Winter is coming! During the contest, your first job is to design a standard heater with a fixed…

# LeetCode 702. Search in a Sorted Array of Unknown Size

Description https://leetcode.com/problems/search-in-a-sorted-array-of-unknown-size/ This is an interactive problem. You have a sorted array of unique elements and an unknown size. You do not have an…

# LeetCode 1095. Find in Mountain Array

Description https://leetcode.com/problems/find-in-mountain-array/ (This problem is an interactive problem.) You may recall that an array arr is a mountain array if and only if: arr.length >=…

# LeetCode 1182. Shortest Distance to Target Color

Description https://leetcode.com/problems/shortest-distance-to-target-color/ You are given an array colors, in which there are three colors: 1, 2 and 3. You are also given some queries. Each…

# LeetCode 74. Search a 2D Matrix

Description https://leetcode.com/problems/search-a-2d-matrix/ Write an efficient algorithm that searches for a value in an m x n matrix. This matrix has the following…

# LeetCode 374. Guess Number Higher or Lower

Description https://leetcode.com/problems/guess-number-higher-or-lower/ We are playing the Guess Game. The game is as follows: I pick a number from 1 to n. You have…

# LeetCode 704. Binary Search

Description https://leetcode.com/problems/binary-search/ Given an array of integers nums which is sorted in ascending order, and an integer target, write a function to search target in nums.…

# LeetCode 441. Arranging Coins

Description https://leetcode.com/problems/arranging-coins/ You have a total of n coins that you want to form in a staircase shape, where every k-th row must…

# LeetCode 410. Split Array Largest Sum

Description https://leetcode.com/problems/split-array-largest-sum/ Given an array nums which consists of non-negative integers and an integer m, you can split the array into m non-empty continuous subarrays.…

# LeetCode 315. Count of Smaller Numbers After Self

Description https://leetcode.com/problems/count-of-smaller-numbers-after-self/ You are given an integer array nums and you have to return a new counts array. The counts array has the property where counts[i] is the…