上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 50 下一页
摘要: In social network like Facebook or Twitter, people send friend requests and accept others’ requests as well. Now given two tables as below: Table: fri 阅读全文
posted @ 2018-09-25 12:55 轻风舞动 阅读(1574) 评论(0) 推荐(0) 编辑
摘要: Select all employee's name and bonus whose bonus is < 1000. Table:Employee Table: Bonus Example ouput: 选出所有奖金<1000元的雇员姓名及奖金数额 解法1: 解法2: All LeetCode Q 阅读全文
posted @ 2018-09-25 12:43 轻风舞动 阅读(1220) 评论(0) 推荐(1) 编辑
摘要: The Employee table holds all employees including their managers. Every employee has an Id, and there is also a column for the manager Id. Given the Em 阅读全文
posted @ 2018-09-25 12:34 轻风舞动 阅读(829) 评论(0) 推荐(0) 编辑
摘要: Let's play the minesweeper game (Wikipedia, online game)! You are given a 2D char matrix representing the game board. 'M' represents an unrevealed min 阅读全文
posted @ 2018-09-24 10:06 轻风舞动 阅读(1273) 评论(0) 推荐(0) 编辑
摘要: Objective: Given ‘N’ windows where each window contains certain number of tickets at each window. Price of a ticket is equal to number of tickets rema 阅读全文
posted @ 2018-09-23 16:23 轻风舞动 阅读(450) 评论(0) 推荐(0) 编辑
摘要: Given two sparse matrices A and B, return the result of AB. You may assume that A's column number is equal to B's row number. Example: 给2个稀疏矩阵,返回矩阵相乘的 阅读全文
posted @ 2018-09-23 15:32 轻风舞动 阅读(1817) 评论(0) 推荐(0) 编辑
摘要: In a given array nums of positive integers, find three non-overlapping subarrays with maximum sum. Each subarray will be of size k, and we want to max 阅读全文
posted @ 2018-09-23 14:36 轻风舞动 阅读(601) 评论(0) 推荐(0) 编辑
摘要: A frog is crossing a river. The river is divided into x units and at each unit there may or may not exist a stone. The frog can jump on a stone, but i 阅读全文
posted @ 2018-09-23 08:07 轻风舞动 阅读(1283) 评论(0) 推荐(0) 编辑
摘要: Given an array A (index starts at 1) consisting of N integers: A1, A2, ..., AN and an integer B. The integer Bdenotes that from any place (suppose the 阅读全文
posted @ 2018-09-23 07:55 轻风舞动 阅读(886) 评论(0) 推荐(0) 编辑
摘要: Given a binary tree where all the right nodes are either leaf nodes with a sibling (a left node that shares the same parent node) or empty, flip it up 阅读全文
posted @ 2018-09-22 12:33 轻风舞动 阅读(1107) 评论(0) 推荐(0) 编辑
上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 50 下一页