摘要:
Backspace String Compare Given two strings s and t, return true if they are equal when both are typed into empty text editors. '#' means a backspace c 阅读全文
posted @ 2023-04-14 22:18
iyiluo
阅读(15)
评论(0)
推荐(0)
摘要:
Positions of Large Groups In a string s of lowercase letters, these letters form consecutive groups of the same character. For example, a string like 阅读全文
posted @ 2023-04-14 22:18
iyiluo
阅读(26)
评论(0)
推荐(0)
摘要:
Largest Triangle Area Given an array of points on the X-Y plane points where points[i] = [xi, yi], return the area of the largest triangle that can be 阅读全文
posted @ 2023-04-14 22:17
iyiluo
阅读(18)
评论(0)
推荐(0)
摘要:
Number of Lines To Write String You are given a string s of lowercase English letters and an array widths denoting how many pixels wide each lowercase 阅读全文
posted @ 2023-04-14 22:17
iyiluo
阅读(14)
评论(0)
推荐(0)
摘要:
Toeplitz Matrix Given an m x n matrix, return true if the matrix is Toeplitz. Otherwise, return false. A matrix is Toeplitz if every diagonal from top 阅读全文
posted @ 2023-04-14 22:17
iyiluo
阅读(20)
评论(0)
推荐(0)
摘要:
Number of Days Between Two Dates Write a program to count the number of days between two dates. The two dates are given as strings, their format is YY 阅读全文
posted @ 2023-04-14 22:16
iyiluo
阅读(11)
评论(0)
推荐(0)
摘要:
Number of Steps to Reduce a Number to Zero Given an integer num, return the number of steps to reduce it to zero. In one step, if the current number i 阅读全文
posted @ 2023-04-14 22:16
iyiluo
阅读(17)
评论(0)
推荐(0)
摘要:
The K Weakest Rows in a Matrix You are given an m x n binary matrix mat of 1's (representing soldiers) and 0's (representing civilians). The soldiers 阅读全文
posted @ 2023-04-14 22:15
iyiluo
阅读(12)
评论(0)
推荐(0)