xinyu04

导航

2022年9月1日 #

[Google] LeetCode 1101 The Earliest Moment When Everyone Become Friends 并查集

摘要: There are n people in a social group labeled from 0 to n - 1. You are given an array logs where logs[i] = [timestampi, xi, yi] indicates that xi and y 阅读全文

posted @ 2022-09-01 23:04 Blackzxy 阅读(20) 评论(0) 推荐(0) 编辑

[Google] LeetCode 150 Evaluate Reverse Polish Notation

摘要: Evaluate the value of an arithmetic expression in Reverse Polish Notation. Valid operators are +, -, *, and /. Each operand may be an integer or anoth 阅读全文

posted @ 2022-09-01 16:10 Blackzxy 阅读(9) 评论(0) 推荐(0) 编辑

[Google] LeetCode 552 Student Attendance Record II

摘要: An attendance record for a student can be represented as a string where each character signifies whether the student was absent, late, or present on t 阅读全文

posted @ 2022-09-01 05:07 Blackzxy 阅读(11) 评论(0) 推荐(0) 编辑