上一页 1 2 3 4 5 6 7 8 9 10 ··· 29 下一页
摘要: 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 阅读(203) 评论(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 阅读(141) 评论(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 阅读(160) 评论(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 阅读(114) 评论(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 阅读(146) 评论(0) 推荐(0) 编辑
摘要: Given a non-empty binary tree, find the maximum path sum.For this problem, a path is defined as any sequence of nodes from some starting node to any n 阅读全文
posted @ 2018-09-16 14:01 jasminemzy 阅读(101) 评论(0) 推荐(0) 编辑
摘要: Given a 2D board and a word, find if the word exists in the grid.The word can be constructed from letters of sequentially adjacent cell, where "adjace 阅读全文
posted @ 2018-09-16 13:19 jasminemzy 阅读(166) 评论(0) 推荐(0) 编辑
摘要: Given a char array representing tasks CPU need to do. It contains capital letters A to Z where different letters represent different tasks.Tasks could 阅读全文
posted @ 2018-09-16 08:17 jasminemzy 阅读(173) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 10 ··· 29 下一页