IncredibleThings

导航

2021年2月6日 #

LeetCode - Detect Capital

摘要: Given a word, you need to judge whether the usage of capitals in it is right or not. We define the usage of capitals in a word to be right when one of 阅读全文

posted @ 2021-02-06 15:12 IncredibleThings 阅读(23) 评论(0) 推荐(0) 编辑

Leetcode - Gas Station

摘要: There are n gas stations along a circular route, where the amount of gas at the ith station is gas[i]. You have a car with an unlimited gas tank and i 阅读全文

posted @ 2021-02-06 14:29 IncredibleThings 阅读(80) 评论(0) 推荐(0) 编辑

LeetCode - Surrounded Regions

摘要: Given a 2D board containing 'X' and 'O' (the letter O), capture all regions surrounded by 'X'. A region is captured by flipping all 'O's into 'X's in 阅读全文

posted @ 2021-02-06 06:43 IncredibleThings 阅读(56) 评论(0) 推荐(0) 编辑