上一页 1 ··· 19 20 21 22 23 24 25 26 27 ··· 50 下一页
摘要: The Hamming distance between two integers is the number of positions at which the corresponding bits are different. Now your job is to find the total 阅读全文
posted @ 2018-08-29 03:45 轻风舞动 阅读(333) 评论(0) 推荐(0) 编辑
摘要: The Hamming distance between two integers is the number of positions at which the corresponding bits are different. Given two integers x and y, calcul 阅读全文
posted @ 2018-08-29 03:16 轻风舞动 阅读(340) 评论(0) 推荐(0) 编辑
摘要: A message containing letters from A-Z is being encoded to numbers using the following mapping way: Beyond that, now the encoded string can also contai 阅读全文
posted @ 2018-08-29 03:04 轻风舞动 阅读(636) 评论(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: Note: 解法1: Br 阅读全文
posted @ 2018-08-28 09:33 轻风舞动 阅读(1314) 评论(1) 推荐(0) 编辑
摘要: Given a string, your task is to count how many palindromic substrings in this string. The substrings with different start indexes or end indexes are c 阅读全文
posted @ 2018-08-25 08:11 轻风舞动 阅读(560) 评论(0) 推荐(0) 编辑
摘要: Given n processes, each process has a unique PID (process id) and its PPID (parent process id). Each process only has one parent process, but may have 阅读全文
posted @ 2018-08-25 07:40 轻风舞动 阅读(1537) 评论(0) 推荐(0) 编辑
摘要: The Trips table holds all taxi trips. Each trip has a unique Id, while Client_Id and Driver_Id are both foreign keys to the Users_Id at the Users tabl 阅读全文
posted @ 2018-08-25 07:12 轻风舞动 阅读(580) 评论(0) 推荐(0) 编辑
摘要: Given an array of n integers nums and a target, find the number of index triplets i, j, k with 0 <= i < j < k < n that satisfy the condition nums[i] + 阅读全文
posted @ 2018-08-25 02:10 轻风舞动 阅读(735) 评论(0) 推荐(0) 编辑
摘要: Initially on a notepad only one character 'A' is present. You can perform two operations on this notepad for each step: Given a number n. You have to 阅读全文
posted @ 2018-08-22 08:54 轻风舞动 阅读(308) 评论(0) 推荐(0) 编辑
摘要: Imagine you have a special keyboard with the following keys: Key 1: (A): Print one 'A' on screen. Key 2: (Ctrl-A): Select the whole screen. Key 3: (Ct 阅读全文
posted @ 2018-08-22 08:47 轻风舞动 阅读(712) 评论(0) 推荐(0) 编辑
上一页 1 ··· 19 20 21 22 23 24 25 26 27 ··· 50 下一页