摘要: 找出两个链表的交点 题目: Write a program to find the node at which the intersection of two singly linked lists begins. For example, the following two linked list 阅读全文
posted @ 2020-05-25 06:31 IreneZh 阅读(135) 评论(0) 推荐(0) 编辑
摘要: 489. Convert Array List to Linked List Convert an array list to a linked list. 489. Convert Array List to Linked List Convert an array list to a linke 阅读全文
posted @ 2019-04-22 09:49 IreneZh 阅读(158) 评论(0) 推荐(0) 编辑
摘要: 228. Middle of Linked List Find the middle node of a linked list. Find the middle node of a linked list. Find the middle node of a linked list. Exampl 阅读全文
posted @ 2019-04-21 19:49 IreneZh 阅读(194) 评论(0) 推荐(0) 编辑
摘要: 174. Remove Nth Node From End of List Given a linked list, remove the nth node from the end of list and return its head. Given a linked list, remove t 阅读全文
posted @ 2019-04-20 15:13 IreneZh 阅读(120) 评论(0) 推荐(0) 编辑
摘要: 225. Find Node in Linked List Find a node with given value in a linked list. Return null if not exists. Find a node with given value in a linked list. 阅读全文
posted @ 2019-04-20 10:58 IreneZh 阅读(176) 评论(0) 推荐(0) 编辑
摘要: 85. Insert Node in a Binary Search Tree Given a binary search tree and a new tree node, insert the node into the tree. You should keep the tree still 阅读全文
posted @ 2019-04-16 10:29 IreneZh 阅读(95) 评论(0) 推荐(0) 编辑
摘要: 93. Balanced Binary Tree Given a binary tree, determine if it is height-balanced. For this problem, a height-balanced binary tree is defined as a bina 阅读全文
posted @ 2019-04-16 10:06 IreneZh 阅读(175) 评论(0) 推荐(0) 编辑
摘要: 177. Convert Sorted Array to Binary Search Tree With Minimal Height Given a sorted (increasing order) array, Convert it to create a binary tree with m 阅读全文
posted @ 2019-04-10 11:56 IreneZh 阅读(120) 评论(0) 推荐(0) 编辑
摘要: 487. Name Deduplication Given a list of names, remove the duplicate names. Two name will be treated as the same name if they are equal ignore the case 阅读全文
posted @ 2019-04-09 16:43 IreneZh 阅读(136) 评论(0) 推荐(0) 编辑
摘要: 155. Minimum Depth of Binary Tree Given a binary tree, find its minimum depth. The minimum depth is the number of nodes along the shortest path from t 阅读全文
posted @ 2019-04-09 11:58 IreneZh 阅读(151) 评论(0) 推荐(0) 编辑