xinyu04

导航

2022年10月26日 #

[Oracle] LeetCode 694 Number of Distinct Islands 标记路线的DFS

摘要: You are given an m x n binary matrix grid. An island is a group of 1's (representing land) connected 4-directionally (horizontal or vertical.) You may 阅读全文

posted @ 2022-10-26 06:44 Blackzxy 阅读(11) 评论(0) 推荐(0) 编辑

[Oracle] LeetCode 848 Shifting Letters

摘要: You are given a string s of lowercase English letters and an integer array shifts of the same length. Call the shift() of a letter, the next letter in 阅读全文

posted @ 2022-10-26 05:33 Blackzxy 阅读(9) 评论(0) 推荐(0) 编辑