自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(3)
  • 收藏
  • 关注

原创 7.3 leetcode 刷题记录(linkedlist) 21(easy)、104(easy)、2(medium)

21.Merge Two Sorted Lists Merge two sorted linked lists and return it as a new list. The new list should be made by splicing together the nodes of the first two lists. class Solution { public ...

2019-07-03 16:23:27 92

原创 7.2 leetcode 刷题(BST)105(medium)、

105.Construct Binary Tree from Preorder and Inorder Traversal 递归算法注意index的变化!注意Conor case! class Solution { HashMap<Integer,Integer> map=new HashMap<>(); private TreeNode ...

2019-07-03 11:34:15 87

原创 7.1 leetcode 刷题记录(tree)938BST、94(medium)inorder traversal、102(medium)BFS

1.巩固关于binary search tree(BST,二叉搜索树)的相关知识。 每个node的值大于left subtree中所有nodes的值,小于right subtree中所有nodes的值。 leetcode 938.Range Sum of BST Given therootnode of a binary search tree, return the sum of v...

2019-07-01 20:33:53 127

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

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