摘要:
You are given a string, s, and a list of words, words, that are all of the same length. Find all starting indices of substring(s) in s that is a conca 阅读全文
posted @ 2018-09-18 09:23
轻风舞动
阅读(394)
评论(0)
推荐(0)
摘要:
原题目:Search for a Range, 现在题目改为: 34. Find First and Last Position of Element in Sorted Array Given an array of integers nums sorted in ascending order, 阅读全文
posted @ 2018-09-18 09:03
轻风舞动
阅读(446)
评论(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: Empty cells are indica 阅读全文
posted @ 2018-09-18 08:40
轻风舞动
阅读(454)
评论(0)
推荐(0)
摘要:
You are playing the following Flip Game with your friend: Given a string that contains only these two characters: + and -, you and your friend take tu 阅读全文
posted @ 2018-09-18 08:27
轻风舞动
阅读(1506)
评论(0)
推荐(0)
摘要:
You are playing the following Flip Game with your friend: Given a string that contains only these two characters: + and -, you and your friend take tu 阅读全文
posted @ 2018-09-18 08:14
轻风舞动
阅读(842)
评论(0)
推荐(0)
摘要:
Given an array with n integers, you need to find if there are triplets (i, j, k) which satisfies following conditions: where we define that subarray ( 阅读全文
posted @ 2018-09-18 06:35
轻风舞动
阅读(1354)
评论(0)
推荐(0)
摘要:
Given a picture consisting of black and white pixels, and a positive integer N, find the number of black pixels located at some specific row R and col 阅读全文
posted @ 2018-09-18 03:43
轻风舞动
阅读(886)
评论(0)
推荐(0)
摘要:
Given a picture consisting of black and white pixels, find the number of black lonely pixels. The picture is represented by a 2D char array consisting 阅读全文
posted @ 2018-09-18 03:37
轻风舞动
阅读(1422)
评论(1)
推荐(0)
摘要:
Given two strings s and t, determine if they are isomorphic. Two strings are isomorphic if the characters in s can be replaced to get t. All occurrenc 阅读全文
posted @ 2018-09-18 01:51
轻风舞动
阅读(1004)
评论(0)
推荐(0)

浙公网安备 33010602011771号