自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

一个不甘平凡的码农

小生不才,只会写点博客而已!

原创 LeetCode 之 JavaScript 解答第104题 —— 二叉树的最大深度(Maximum Depth of Binary Tree)

Time:2019/4/22 Title: Maximum Depth of Binary Tree Difficulty: Medium Author:小鹿 题目:Maximum Depth of Binary Tree(二叉树的最大深度) Given a binary tree, find ...

2019-04-25 22:45:56

阅读数 233

评论数 0

原创 LeetCode 之 JavaScript 解答第226题 —— 翻转二叉树(Invert Binary Tree)

Time:2019/4/21 Title: Invert Binary Tree Difficulty: Easy Author: 小鹿 题目:Invert Binary Tree(反转二叉树) Invert a binary tree. 反转二叉树 Example: Input: ...

2019-04-24 16:53:24

阅读数 162

评论数 0

原创 LeetCode 之 JavaScript 解答第151题 —— 反转字符串中的单词 (Reverse Words in a String)

Time:2019/4/20 Title: Reverse Words In a String Difficulty: Midumn Author: 小鹿 题目:Reverse Words In a String(翻转字符串里的单词) Given an input string, reverse...

2019-04-22 16:49:06

阅读数 196

评论数 0

原创 LeetCode 之 JavaScript 解答第8题 —— 字符串转换整数 (String to Integer )

Time:2019/4/19 Title: String To Integer Difficulty: Medium Author: 小鹿 题目:String To Integer(字符串转换整数 (atoi)) Implement atoi which converts a string to...

2019-04-21 12:11:21

阅读数 129

评论数 0

原创 LeetCode 之 JavaScript 解答第344题 —— 反转字符串(Reverse String)

Time:2019/4/18 Title: Reverse String Difficulty: Easy Author: 小鹿 题目:Reverse String(反转字符串) Write a function that reverses a string. The input string ...

2019-04-21 12:03:35

阅读数 110

评论数 0

原创 LeetCode 之 JavaScript 解答第69题 —— X 的平方根(Squrt(x))

Time:2019/4/16 Title: Sliding Window Maximum Difficulty: Difficulty Author: 小鹿 题目:Sliding Window Maximum Given an array nums, there is a sliding win...

2019-04-19 06:22:13

阅读数 80

评论数 0

原创 LeetCode 之 JavaScript 解答第239题 —— 滑动窗口最大值(Sliding Window Maximum)

Time:2019/4/16 Title: Sliding Window Maximum Difficulty: Difficulty Author: 小鹿 题目:Sliding Window Maximum Given an array nums, there is a sliding win...

2019-04-17 17:18:58

阅读数 158

评论数 0

原创 LeetCode 之 JavaScript 解答第641题 —— 设计双端队列(Design Circular Deque)

Time:2019/4/15 Title: Design Circular Deque Difficulty: Medium Author: 小鹿 题目:Design Circular Deque Design your implementation of the circular double...

2019-04-17 08:17:23

阅读数 62

评论数 0

原创 LeetCode 之 JavaScript 解答第70题 —— 爬楼梯(Climbing Stairs)

Time:2019/4/12 Title:Clibing Srairs Difficulty: Easy Author:小鹿 题目:Climbing Stairs You are climbing a stair case. It takes n steps to reach to the to...

2019-04-14 09:36:55

阅读数 52

评论数 0

原创 LeetCode 之 JavaScript 解答第20题 —— 有效的括号(Valid Parentheses)

Time:2019/4/11 Title: Valid Parentheses Difficulty: Easy Author: 小鹿 题目:Valid Parentheses Given a string containing just the characters '(', ')', '{'...

2019-04-12 21:46:48

阅读数 76

评论数 0

原创 LeetCode 之 JavaScript 解答第23题 —— 合并K个有序链表(Merge K Sorted Lists)

Time:2019/4/10 Title: Merge K Sorted Lists Difficulty: Difficulty Author: 小鹿 题目:Merge K Sorted Lists Merge k sorted linked lists and return it as on...

2019-04-11 22:58:35

阅读数 282

评论数 0

原创 LeetCode 之 JavaScript 解答第21题 —— 合并两个有序链表(Merge Two Sorted Lists)

Time:2019/4/9 Title: Merge Two Sorted Lists Difficulty: Easy Author: 小鹿 题目:Merge Two Sorted Lists Merge two sorted linked lists and return it as a n...

2019-04-10 20:44:29

阅读数 96

评论数 0

原创 LeetCode 之 JavaScript 解答第142题 —— 环形链表 II(Linked List Cycle II)

Time:2019/4/8 Title: Linked List Cycle II Difficulty: medium Author:小鹿 题目:Linked List Cycle II Given a linked list, return the node where the cycle ...

2019-04-09 21:23:22

阅读数 107

评论数 0

原创 LeetCode 之 JavaScript 解答第141题 —— 环形链表 I(Linked List Cycle I)

Time:2019/4/7 Title: Linked List Cycle Difficulty: Easy Author:小鹿 题目:Linked List Cycle I Given a linked list, determine if it has a cycle in it. To ...

2019-04-09 06:26:51

阅读数 32

评论数 0

原创 LeetCode 之 JavaScript 解答第41题 —— 缺失的第一个正数(First Missing Positive)

Time:2019/4/6 Title: First Missing Positive Difficulty: Difficulty Author: 小鹿 题目:First Missing Positive Given an unsorted integer array, find the sm...

2019-04-07 11:30:24

阅读数 81

评论数 0

原创 LeetCode 之 JavaScript 解答第229题 —— 求众数 II(Majority Element)

Time:2019/4/5 Title: Majority Element 2 Difficulty: medium Author: 小鹿 问题:Majority Element 2 Given an integer array of size n, find all elements that...

2019-04-05 18:00:58

阅读数 26

评论数 0

原创 LeetCode 之 JavaScript 解答第169题 —— 求众数 I(Majority Element)

Time:2019/4/4 Title: Majority Element 1 Difficulty: easy Author: 小鹿 题目:Majority Element 1 Given an array of size n, find the majority element. The m...

2019-04-05 17:55:08

阅读数 26

评论数 0

原创 LeetCode 之 JavaScript 解答第十五题 —— 三数之和(3Sum)

Time:2019/4/3 Title:3Sum Difficulty: medium Author:小鹿 题目三:ADD Two Numbers Given an array nums of n integers, are there elements a, b, c in nums such...

2019-04-04 20:28:19

阅读数 65

评论数 0

原创 LeetCode 之 JavaScript 解答第二题 —— 两数相加(Add Two Numbers)

Time:2019/4/2 Title: ADD Two Numbers Difficulty: medium Author:小鹿 公众号:一个不甘平凡的码农。 题目二:ADD Two Numbers You are given two non-empty linked lists repres...

2019-04-03 21:01:56

阅读数 45

评论数 0

原创 LeetCode 之 JavaScript 解答第一题 —— 两数之和(Two Sum)

Time:2019/4/1 Title:Two Sum Difficulty: simple Author:小鹿 题目一:Two Sum Given an array of integers, return indices of the two numbers such that they a...

2019-04-03 10:30:03

阅读数 112

评论数 0

提示
确定要删除当前文章?
取消 删除