摘要: 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 @ 2019-09-19 13:22 Schwifty 阅读(135) 评论(0) 推荐(0)
摘要: Additive number is a string whose digits can form additive sequence. A valid additive sequence should contain at least three numbers. Except for the f 阅读全文
posted @ 2019-09-19 13:13 Schwifty 阅读(170) 评论(0) 推荐(0)
摘要: Given two words (beginWord and endWord), and a dictionary's word list, find the length of shortest transformation sequence from beginWord to endWord, 阅读全文
posted @ 2019-09-19 02:01 Schwifty 阅读(204) 评论(0) 推荐(0)