摘要: 终于作为转专业小白的我也开始刷题啦!希望能通过记录分享的形式加深解题思路的理解和记忆。也希望大神们能够指点一二。 列表中的题目名称都是链接,难度和标签也都是也都是链接,方便归类搜索。 Total: 41. 阅读全文
posted @ 2018-06-29 12:23 小T在学习 阅读(281) 评论(0) 推荐(0) 编辑
摘要: Given a binary tree Populate each next pointer to point to its next right node. If there is no next right node, the next pointer should be set to NULL 阅读全文
posted @ 2018-08-29 21:02 小T在学习 阅读(309) 评论(0) 推荐(0) 编辑
摘要: Given an array nums of integers, you can perform operations on the array. In each operation, you pick any nums[i] and delete it to earn nums[i] points 阅读全文
posted @ 2018-08-29 11:43 小T在学习 阅读(334) 评论(0) 推荐(0) 编辑
摘要: Given a 2D board and a word, find if the word exists in the grid. The word can be constructed from letters of sequentially adjacent cell, where "adjac 阅读全文
posted @ 2018-08-29 10:41 小T在学习 阅读(333) 评论(0) 推荐(0) 编辑
摘要: Write a program that outputs the string representation of numbers from 1 to n. But for multiples of three it should output “Fizz” instead of the numbe 阅读全文
posted @ 2018-08-10 10:23 小T在学习 阅读(155) 评论(0) 推荐(0) 编辑
摘要: Given a sorted array consisting of only integers where every element appears twice except for one element which appears once. Find this single element 阅读全文
posted @ 2018-08-09 15:02 小T在学习 阅读(265) 评论(0) 推荐(0) 编辑
摘要: Convert a non-negative integer to its english words representation. Given input is guaranteed to be less than 231 - 1. For example, 令人烦躁的一个题。要注意的是,101 阅读全文
posted @ 2018-08-09 12:40 小T在学习 阅读(722) 评论(0) 推荐(0) 编辑
摘要: Given a non-empty integer array, find the minimum number of moves required to make all array elements equal, where a move is incrementing a selected e 阅读全文
posted @ 2018-08-07 21:54 小T在学习 阅读(281) 评论(0) 推荐(0) 编辑
摘要: Given a non-empty integer array of size n, find the minimum number of moves required to make all array elements equal, where a move is incrementing n  阅读全文
posted @ 2018-08-07 21:34 小T在学习 阅读(219) 评论(0) 推荐(0) 编辑
摘要: Given a function rand7 which generates a uniform random integer in the range 1 to 7, write a function rand10 which generates a uniform random integer 阅读全文
posted @ 2018-08-07 17:48 小T在学习 阅读(258) 评论(0) 推荐(0) 编辑
摘要: There are N children standing in a line. Each child is assigned a rating value. You are giving candies to these children subjected to the following re 阅读全文
posted @ 2018-08-06 22:11 小T在学习 阅读(322) 评论(0) 推荐(0) 编辑