上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 18 下一页
摘要: 题目描述: You are playing the following Bulls and Cows game with your friend: You write down a number and ask your friend to guess what the number is. Eac 阅读全文
posted @ 2016-02-06 13:47 scottwang 阅读(428) 评论(0) 推荐(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 occ 阅读全文
posted @ 2016-02-06 10:28 scottwang 阅读(431) 评论(0) 推荐(0) 编辑
摘要: 题目描述: Given a string s consists of upper/lower-case alphabets and empty space characters ' ', return the length of last word in the string. If the las 阅读全文
posted @ 2016-02-05 21:57 scottwang 阅读(245) 评论(0) 推荐(0) 编辑
摘要: 题目描述: Find the total area covered by two rectilinear rectangles in a 2D plane. Each rectangle is defined by its bottom left corner and top right corne 阅读全文
posted @ 2016-02-05 21:04 scottwang 阅读(346) 评论(0) 推荐(0) 编辑
摘要: 题目描述: Given an array of integers and an integer k, find out whether there are two distinct indices i and j in the array such that nums[i] = nums[j] an 阅读全文
posted @ 2016-02-05 20:25 scottwang 阅读(184) 评论(0) 推荐(0) 编辑
摘要: 题目描述: everse bits of a given 32 bits unsigned integer. For example, given input 43261596 (represented in binary as 00000010100101000001111010011100), 阅读全文
posted @ 2016-02-05 19:16 scottwang 阅读(344) 评论(0) 推荐(0) 编辑
摘要: 题目描述: Given two sorted integer arrays nums1 and nums2, merge nums2 into nums1 as one sorted array. Note:You may assume that nums1 has enough space (si 阅读全文
posted @ 2016-02-05 12:42 scottwang 阅读(197) 评论(0) 推荐(0) 编辑
摘要: 题目描述: Write a program to find the node at which the intersection of two singly linked lists begins. For example, the following two linked lists: A: a1 阅读全文
posted @ 2016-02-05 10:49 scottwang 阅读(275) 评论(0) 推荐(0) 编辑
摘要: 题目描述: Given a binary tree, find its minimum depth. The minimum depth is the number of nodes along the shortest path from the root node down to the nea 阅读全文
posted @ 2016-02-04 12:50 scottwang 阅读(176) 评论(0) 推荐(0) 编辑
摘要: 题目描述: Implement the following operations of a stack using queues. push(x) -- Push element x onto stack. pop() -- Removes the element on top of the sta 阅读全文
posted @ 2016-01-27 22:39 scottwang 阅读(191) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 18 下一页