SP Hou[Java][Greedy][LeetCode] PartitionLabels #763You are given a string s. We want to partition the string into as many parts as possible so that each letter appears in at most one part.Aug 3, 2021Aug 3, 2021
SP Hou[Java][Greedy][LeetCode] Queue Reconstruction by Height #406You are given an array of people, people, which are the attributes of some people in a queue (not necessarily in order). Each people[i] =…Aug 7, 2021Aug 7, 2021
SP Hou[Java][Array][LeetCode] Create Target Array in the Given Order #1389Given two arrays of integers nums and index. Your task is to create target array under the following rules:Aug 5, 2021Aug 5, 2021
SP Hou[Java][Arrays][LeetCode] Assign Cookies #455Assume you are an awesome parent and want to give your children some cookies. But, you should give each child at most one cookie.Jun 14, 2021Jun 14, 2021