LeetCode 912. Sort an Array
Description https://leetcode.com/problems/sort-an-array/ Given an array of integers nums, sort the array in ascending order. Example 1: Input: nums = [5,2,3,1] Output:…
Be a Good Techer and Tech for Good. www.goodtecher.com
Description https://leetcode.com/problems/sort-an-array/ Given an array of integers nums, sort the array in ascending order. Example 1: Input: nums = [5,2,3,1] Output:…
Description https://leetcode.com/problems/shuffle-the-array/ Given the head of a linked list, return the list after sorting it in ascending order. Follow up: Can you sort the linked…
Description https://leetcode.com/problems/merge-k-sorted-lists/ You are given an array of k linked-lists lists, each linked-list is sorted in ascending order. Merge all the linked-lists into…
Description https://leetcode.com/problems/coin-change/ You are given coins of different denominations and a total amount of money amount. Write a function to compute…
Description https://leetcode.com/problems/search-a-2d-matrix-ii/ You are given a perfect binary tree where all leaves are on the same level, and every parent has two children.…
Description https://leetcode.com/problems/search-a-2d-matrix-ii/ Write an efficient algorithm that searches for a value in an m x n matrix. This matrix has the following properties: Integers…
Description https://leetcode.com/problems/merge-intervals/ Given an array of intervals where intervals[i] = [starti, endi], merge all overlapping intervals, and return an array of the non-overlapping intervals that…