張曉晴Leetcode — Container With Most Water — Medium — PythonYou are given an integer array height of length n. There are n vertical lines drawn such that the two endpoints of the ith line are (i, 0)…Aug 10, 2022Aug 10, 2022
張曉晴Leetcode — Longest Palindromic Substring — MediumGiven a string s, return the longest palindromic substring in s.Jul 25, 2022Jul 25, 2022
張曉晴Leetcode — License Key Formatting — EasyYou are given a license key represented as a string s that consists of only alphanumeric characters and dashes. The string is separated…Jun 7, 2022Jun 7, 2022
張曉晴Leetcode — Construct the Rectangle — EasyA web developer needs to know how to design a web page’s size. So, given a specific rectangular web page’s area, your job by now is to…Jun 6, 2022Jun 6, 2022
張曉晴Leetcode — Max Consecutive Ones — EasyYou are given a license key represented as a string s that consists of only alphanumeric characters and dashes. The string is separated…Jun 6, 2022Jun 6, 2022
張曉晴Leetcode — Number Complement — EasyThe complement of an integer is the integer you get when you flip all the 0's to 1's and all the 1's to 0's in its binary representation.Jun 6, 2022Jun 6, 2022
張曉晴Leetcode — Island Perimeter — EasyYou are given row x col grid representing a map where grid[i][j] = 1 represents land and grid[i][j] = 0 represents water.May 27, 2022May 27, 2022
張曉晴Leetcode — Hamming Distance — EasyThe Hamming distance between two integers is the number of positions at which the corresponding bits are different.May 27, 2022May 27, 2022
張曉晴Leetcode — Repeated Substring Pattern — EasyGiven a string s, check if it can be constructed by taking a substring of it and appending multiple copies of the substring together.May 17, 2022May 17, 2022
張曉晴Leetcode — Assign Cookies — EasyAssume you are an awesome parent and want to give your children some cookies. But, you should give each child at most one cookie.May 16, 2022May 16, 2022