上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 79 下一页
摘要: use std::collections::LinkedList; /** 529. Minesweeper https://leetcode.com/problems/minesweeper/ Let's play the minesweeper game (Wikipedia, online g 阅读全文
posted @ 2022-01-07 00:36 johnny_zhao 阅读(23) 评论(0) 推荐(0) 编辑
摘要: /** 475. Heaters https://leetcode.com/problems/heaters/ Winter is coming! During the contest, your first job is to design a standard heater with a fix 阅读全文
posted @ 2022-01-01 00:59 johnny_zhao 阅读(31) 评论(0) 推荐(0) 编辑
摘要: /** 973. K Closest Points to Origin https://leetcode.com/problems/k-closest-points-to-origin/ Given an array of points where points[i] = [xi, yi] repr 阅读全文
posted @ 2021-12-29 00:10 johnny_zhao 阅读(21) 评论(0) 推荐(0) 编辑
摘要: /** 474. Ones and Zeroes https://leetcode.com/problems/ones-and-zeroes/ You are given an array of binary strings strs and two integers m and n. Return 阅读全文
posted @ 2021-12-26 16:07 johnny_zhao 阅读(26) 评论(0) 推荐(0) 编辑
摘要: /** 474. Ones and Zeroes https://leetcode.com/problems/ones-and-zeroes/ You are given an array of binary strings strs and two integers m and n. Return 阅读全文
posted @ 2021-12-25 23:59 johnny_zhao 阅读(32) 评论(0) 推荐(0) 编辑
摘要: /** 1446. Consecutive Characters https://leetcode.com/problems/consecutive-characters/ The power of the string is the maximum length of a non-empty su 阅读全文
posted @ 2021-12-15 22:27 johnny_zhao 阅读(28) 评论(0) 推荐(0) 编辑
摘要: /** 355. Design Twitter https://leetcode.com/problems/design-twitter/ Design a simplified version of Twitter where users can post tweets, follow/unfol 阅读全文
posted @ 2021-12-13 23:54 johnny_zhao 阅读(44) 评论(0) 推荐(0) 编辑
摘要: /** 1290. Convert Binary Number in a Linked List to Integer https://leetcode.com/problems/convert-binary-number-in-a-linked-list-to-integer/ Given hea 阅读全文
posted @ 2021-12-08 00:47 johnny_zhao 阅读(54) 评论(0) 推荐(0) 编辑
摘要: /** 520. Detect Capital https://leetcode.com/problems/detect-capital/ We define the usage of capitals in a word to be right when one of the following 阅读全文
posted @ 2021-11-21 22:29 johnny_zhao 阅读(26) 评论(0) 推荐(0) 编辑
摘要: use std::cmp::min; /** 821. Shortest Distance to a Character https://leetcode.com/problems/shortest-distance-to-a-character/ Given a string s and a ch 阅读全文
posted @ 2021-10-20 15:29 johnny_zhao 阅读(34) 评论(0) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 79 下一页