Hans0811Leetcode 869 Reordered Power of 2You are given an integer n. We reorder the digits in any order (including the original order) such that the leading digit is not zero.Aug 26, 2022Aug 26, 2022
Hans0811LeetCode 659. Split Array into Consecutive SubsequencesYou are given an integer array nums that is sorted in non-decreasing order.Aug 19, 2022Aug 19, 2022
Hans0811Leetcode 890. Find and Replace PatternGiven a list of strings words and a string pattern, return a list of words[i] that match pattern. You may return the answer in any order.Jul 29, 2022Jul 29, 2022
Hans0811Leetcode 105. Construct Binary Tree from Preorder and Inorder TraversalBefore the question, we can recap what is preorder and inorder tree.Jul 14, 2022Jul 14, 2022
Hans0811Leetcode 97. Interleaving StringGiven strings s1, s2, and s3, find whether s3 is formed by an interleaving of s1 and s2.Jul 7, 2022Jul 7, 2022
Hans0811Leetcode 135. CandyThere are n children standing in a line. Each child is assigned a rating value given in the integer array ratings.Jul 4, 2022Jul 4, 2022
Hans0811Leetcode 1710. Maximum Units on a TruckYou are assigned to put some amount of boxes onto one truck. You are given a 2D array boxTypes, where boxTypes[i] = [numberOfBoxesi…Jul 1, 2022Jul 1, 2022
Hans0811Leetcode 462. Minimum Moves to Equal Array Elements IIThere are n different online courses numbered from 1 to n. You are given an array courses where courses[i] = [durationi, lastDayi] indicate…Jun 23, 2022Jun 23, 2022
Hans0811Leetcode 215. Kth Largest Element in an ArrayGiven an integer array nums and an integer k, return the kth largest element in the array.Jun 22, 2022Jun 22, 2022