07 2019 档案

摘要:Given a binary matrix A, we want to flip the image horizontally, then invert it, and return the resulting image. To flip an image horizontally means t 阅读全文
posted @ 2019-07-26 10:22 程嘿嘿 阅读(121) 评论(0) 推荐(0)
摘要:International Morse Code defines a standard encoding where each letter is mapped to a series of dots and dashes, as follows: "a" maps to ".-", "b" map 阅读全文
posted @ 2019-07-24 11:32 程嘿嘿 阅读(221) 评论(0) 推荐(0)
摘要:A valid parentheses string is either empty (""), "(" + A + ")", or A + B, where A and B are valid parentheses strings, and + represents string concate 阅读全文
posted @ 2019-07-23 15:08 程嘿嘿 阅读(185) 评论(0) 推荐(0)
摘要:You're given strings J representing the types of stones that are jewels, and S representing the stones you have. Each character in S is a type of ston 阅读全文
posted @ 2019-07-19 13:53 程嘿嘿 阅读(101) 评论(0) 推荐(0)
摘要:Given a binary tree containing digits from 0-9 only, each root-to-leaf path could represent a number. An example is the root-to-leaf path 1->2->3 whic 阅读全文
posted @ 2019-07-19 11:33 程嘿嘿 阅读(123) 评论(0) 推荐(0)