摘要: Note: This is a companion problem to the System Design problem: Design TinyURL. TinyURL is a URL shortening service where you enter a URL such as http 阅读全文
posted @ 2018-11-01 13:50 bernieloveslife 阅读(153) 评论(0) 推荐(0)
摘要: Given two non negative integers num1 and num2 represented as strings, return the product of num1 and num2, also represented as a string. Example 1: In 阅读全文
posted @ 2018-11-01 13:50 bernieloveslife 阅读(105) 评论(0) 推荐(0)
摘要: An image is represented by a 2 D array of integers, each integer representing the pixel value of the image (from 0 to 65535). Given a coordinate (sr, 阅读全文
posted @ 2018-11-01 13:49 bernieloveslife 阅读(135) 评论(0) 推荐(0)
摘要: Given an integer array with no duplicates. A maximum tree building on this array is defined as follow: The root is the maximum number in the array. Th 阅读全文
posted @ 2018-11-01 13:49 bernieloveslife 阅读(75) 评论(0) 推荐(0)
摘要: Given a string S of '(' and ')' parentheses, we add the minimum number of parentheses ( '(' or ')', and in any positions ) so that the resulting paren 阅读全文
posted @ 2018-11-01 13:49 bernieloveslife 阅读(120) 评论(0) 推荐(0)