上一页 1 ··· 22 23 24 25 26 27 28 29 30 ··· 64 下一页
摘要: Given a string s and a non-empty string p, find all the start indices of p's anagrams in s. Strings consists of lowercase English letters only and the 阅读全文
posted @ 2018-03-11 10:44 __Meng 阅读(123) 评论(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-03-10 19:12 __Meng 阅读(151) 评论(0) 推荐(0) 编辑
摘要: X is a good number if after rotating each digit individually by 180 degrees, we get a valid number that is different from X. Each digit must be rotate 阅读全文
posted @ 2018-03-10 12:45 __Meng 阅读(428) 评论(0) 推荐(0) 编辑
摘要: Given a string S, we can transform every letter individually to be lowercase or uppercase to create another string. Return a list of all possible stri 阅读全文
posted @ 2018-03-09 20:44 __Meng 阅读(138) 评论(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 Sis a type of stone 阅读全文
posted @ 2018-03-08 21:17 __Meng 阅读(131) 评论(0) 推荐(0) 编辑
摘要: A matrix is Toeplitz if every diagonal from top-left to bottom-right has the same element. Now given an M x N matrix, return True if and only if the m 阅读全文
posted @ 2018-01-22 09:37 __Meng 阅读(894) 评论(0) 推荐(1) 编辑
摘要: 内连接(INNER JOIN): 分为三种 等值连接、自然连接、不等连接 外连接(OUTER JOIN): 左外连接(LEFT OUTER JOIN或LEFT JOIN) 右外连接(RIGHT OUTER JOIN或RIGHT JOIN) 全外连接(FULL OUTER JOIN或FULL JOIN 阅读全文
posted @ 2018-01-21 15:54 __Meng 阅读(1046) 评论(0) 推荐(1) 编辑
摘要: Given an array of integers, 1 ≤ a[i] ≤ n (n = size of array), some elements appear twice and others appear once. Find all the elements that appear twi 阅读全文
posted @ 2018-01-21 15:31 __Meng 阅读(104) 评论(0) 推荐(0) 编辑
摘要: Write a SQL query to delete all duplicate email entries in a table named Person, keeping only unique emails based on its smallest Id. For example, aft 阅读全文
posted @ 2018-01-20 17:18 __Meng 阅读(134) 评论(2) 推荐(0) 编辑
摘要: Given a Weather table, write a SQL query to find all dates' Ids with higher temperature compared to its previous (yesterday's) dates. For example, ret 阅读全文
posted @ 2018-01-20 17:03 __Meng 阅读(163) 评论(0) 推荐(0) 编辑
上一页 1 ··· 22 23 24 25 26 27 28 29 30 ··· 64 下一页