随笔分类 - Simulate
发表于 2019-05-17 17:37阅读:306评论:0推荐:0
摘要:A Tic-Tac-Toe board is given as a string array board. Return True if and only if it is possible to reach this board position during the course of a va
阅读全文 »
发表于 2019-04-28 16:06阅读:821评论:0推荐:0
摘要:Given an expression such as expression = "e + 8 - a + 5" and an evaluation map such as {"e": 1} (given in terms of evalvars = ["e"] and evalints = [1]
阅读全文 »
发表于 2019-04-23 12:46阅读:324评论:0推荐:0
摘要:Given a string representing a code snippet, you need to implement a tag validator to parse the code and return whether it is valid. A code snippet is
阅读全文 »
发表于 2019-04-18 22:15阅读:232评论:0推荐:0
摘要:Given a list of strings, you need to find the longest uncommon subsequence among them. The longest uncommon subsequence is defined as the longest subs
阅读全文 »