随笔分类 -  LeetCode-Stack

摘要:Given a string containing just the characters '(', ')', '{', '}','[' and ']', determine if the input string is valid. An input string is valid if: Not 阅读全文
posted @ 2018-11-21 11:10 杜王町上班族 阅读(161) 评论(0) 推荐(0)
摘要:Given two strings S and T, return if they are equal when both are typed into empty text editors. # means a backspace character. Example 1: Input: S = 阅读全文
posted @ 2018-11-14 15:04 杜王町上班族 阅读(190) 评论(0) 推荐(0)
摘要:You are given two arrays (without duplicates) nums1 and nums2 where nums1’s elements are subset of nums2. Find all the next greater numbers for nums1' 阅读全文
posted @ 2018-11-14 00:20 杜王町上班族 阅读(178) 评论(0) 推荐(0)
摘要:You're now a baseball game point recorder. Given a list of strings, each string can be one of the 4 following types: Each round's operation is permane 阅读全文
posted @ 2018-11-13 11:27 杜王町上班族 阅读(161) 评论(0) 推荐(0)