上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 68 下一页
摘要: 题目如下: You have n binary tree nodes numbered from 0 to n - 1 where node i has two children leftChild[i] and rightChild[i], return true if and only if a 阅读全文
posted @ 2020-03-01 15:02 seyjs 阅读(562) 评论(0) 推荐(0) 编辑
摘要: 题目如下: Write a program to count the number of days between two dates. The two dates are given as strings, their format is YYYY-MM-DD as shown in the ex 阅读全文
posted @ 2020-03-01 14:59 seyjs 阅读(246) 评论(0) 推荐(0) 编辑
摘要: 题目如下: Given n orders, each order consist in pickup and delivery services. Count all valid pickup/delivery possible sequences such that delivery(i) is 阅读全文
posted @ 2020-02-23 15:18 seyjs 阅读(369) 评论(0) 推荐(0) 编辑
摘要: 题目如下: There is a sale in a supermarket, there will be a discount every n customer.There are some products in the supermarket where the id of the i-th  阅读全文
posted @ 2020-02-23 15:09 seyjs 阅读(296) 评论(0) 推荐(0) 编辑
摘要: 题目如下: Given an integer array arr. You have to sort the integers in the array in ascending order by the number of 1's in their binary representation an 阅读全文
posted @ 2020-02-23 15:07 seyjs 阅读(371) 评论(0) 推荐(0) 编辑
摘要: 题目如下: Given an array of integers target. From a starting array, A consisting of all 1's, you may perform the following procedure : let x be the sum of 阅读全文
posted @ 2020-02-23 15:06 seyjs 阅读(289) 评论(0) 推荐(0) 编辑
摘要: 题目如下: Implement the class ProductOfNumbers that supports two methods: 1. add(int num) Adds the number num to the back of the current list of numbers. 阅读全文
posted @ 2020-02-23 15:01 seyjs 阅读(302) 评论(0) 推荐(0) 编辑
摘要: 题目如下: Given a m * n matrix grid which is sorted in non-increasing order both row-wise and column-wise. Return the number of negative numbers in grid. 阅读全文
posted @ 2020-02-19 09:12 seyjs 阅读(344) 评论(0) 推荐(0) 编辑
摘要: 题目如下: Given a non-negative integer num, return the number of steps to reduce it to zero. If the current number is even, you have to divide it by 2, ot 阅读全文
posted @ 2020-02-09 17:31 seyjs 阅读(369) 评论(0) 推荐(0) 编辑
摘要: 题目如下: Given an array of integers arr and two integers k and threshold. Return the number of sub-arrays of size k and average greater than or equal to  阅读全文
posted @ 2020-02-09 17:28 seyjs 阅读(193) 评论(0) 推荐(0) 编辑
上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 68 下一页