摘要: 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:Inpu 阅读全文
posted @ 2018-09-17 14:44 jasminemzy 阅读(190) 评论(0) 推荐(0) 编辑
摘要: A city's skyline is the outer contour of the silhouette formed by all the buildings in that city when viewed from a distance. Now suppose you are give 阅读全文
posted @ 2018-09-17 14:02 jasminemzy 阅读(247) 评论(0) 推荐(0) 编辑
摘要: Write a program to solve a Sudoku puzzle by filling the empty cells.A sudoku solution must satisfy all of the following rules:1. Each of the digits 1- 阅读全文
posted @ 2018-09-17 09:57 jasminemzy 阅读(168) 评论(0) 推荐(0) 编辑
摘要: Determine if a 9x9 Sudoku board is valid. Only the filled cells need to be validated according to the following rules:1. Each row must contain the dig 阅读全文
posted @ 2018-09-17 08:46 jasminemzy 阅读(204) 评论(0) 推荐(0) 编辑
摘要: Given n balloons, indexed from 0 to n-1. Each balloon is painted with a number on it represented by array nums. You are asked to burst all the balloon 阅读全文
posted @ 2018-09-17 07:19 jasminemzy 阅读(143) 评论(0) 推荐(0) 编辑
摘要: Given an encoded string, return it's decoded string.The encoding rule is: k[encoded_string], where the encoded_string inside the square brackets is be 阅读全文
posted @ 2018-09-17 05:42 jasminemzy 阅读(161) 评论(0) 推荐(0) 编辑
摘要: Median is the middle value in an ordered integer list. If the size of the list is even, there is no middle value. So the median is the mean of the two 阅读全文
posted @ 2018-09-17 03:52 jasminemzy 阅读(115) 评论(0) 推荐(0) 编辑
摘要: Given an array of integers and an integer k, you need to find the total number of continuous subarrays whose sum equals to k.Example 1:Input:nums = [1 阅读全文
posted @ 2018-09-17 02:53 jasminemzy 阅读(147) 评论(0) 推荐(0) 编辑