xinyu04

导航

2023年7月14日 #

LeetCode 354. Russian Doll Envelopes 排序+LIS

摘要: You are given a 2D array of integers `envelopes` where `envelopes[i] = [wi, hi]` represents the width and the height of an envelope. One envelope can 阅读全文

posted @ 2023-07-14 22:37 Blackzxy 阅读(6) 评论(0) 推荐(0) 编辑

LeetCode 519. Random Flip Matrix 哈希Map

摘要: There is an `m x n` binary grid matrix with all the values set 0 initially. Design an algorithm to randomly pick an index `(i, j)` where `matrix[i][j] 阅读全文

posted @ 2023-07-14 20:58 Blackzxy 阅读(4) 评论(0) 推荐(0) 编辑