摘要:
You are given a string s and a robot that currently holds an empty string t. Apply one of the following operations until s and t are both empty: Remov 阅读全文
阅读排行榜
[LeetCode] 2282. Number of People That Can Be Seen in a Grid_Medium tag: stack.
2023-10-11 05:59 by Johnson_强生仔仔, 22 阅读, 收藏,
摘要:
You are given an m x n 0-indexed 2D array of positive integers heights where heights[i][j] is the height of the person standing at position (i, j). A 阅读全文
[LeetCode] 3. Longest Substring Without Repeating Characters_Medium tag: two pointers
2021-08-05 01:24 by Johnson_强生仔仔, 20 阅读, 收藏,
摘要:
Given a string s, find the length of the longest substring without repeating characters. Example 1: Input: s = "abcabcbb" Output: 3 Explanation: The a 阅读全文
[LeetCode] 252. Meeting Rooms_Easy tag: Sort
2021-07-29 07:24 by Johnson_强生仔仔, 20 阅读, 收藏,
摘要:
Given an array of meeting time intervals where intervals[i] = [starti, endi], determine if a person could attend all meetings. Example 1: Input: inter 阅读全文
[LeetCode] 297. Serialize and Deserialize Binary Tree_hard tag: DFS, Divide and Conquer
2021-07-29 22:03 by Johnson_强生仔仔, 19 阅读, 收藏,
摘要:
Serialization is the process of converting a data structure or object into a sequence of bits so that it can be stored in a file or memory buffer, or 阅读全文
浙公网安备 33010602011771号