上一页 1 ··· 18 19 20 21 22 23 24 25 26 ··· 37 下一页
摘要: Merge two sorted (ascending) linked lists and return it as a new sorted list. The new sorted list should be made by splicing together the nodes of the 阅读全文
posted @ 2017-10-13 12:27 Review->Improve 阅读(140) 评论(0) 推荐(0) 编辑
摘要: Given a linked list and a value x, partition it such that all nodes less than x come before nodes greater than or equal to x. You should preserve the 阅读全文
posted @ 2017-10-13 12:16 Review->Improve 阅读(248) 评论(0) 推荐(0) 编辑
摘要: Sort a linked list using insertion sort. Sort a linked list using insertion sort. Sort a linked list using insertion sort. Example Given 1->3->2->0->n 阅读全文
posted @ 2017-10-13 11:47 Review->Improve 阅读(162) 评论(0) 推荐(0) 编辑
摘要: Given a node from a cyclic linked list which has been sorted, write a function to insert a value into the list such that it remains a cyclic sorted li 阅读全文
posted @ 2017-10-13 11:16 Review->Improve 阅读(192) 评论(0) 推荐(0) 编辑
摘要: Given a Binary Tree, write a function to check whether the given Binary Tree is a prefect Binary Tree or not. A Binary tree is Perfect Binary Tree in 阅读全文
posted @ 2017-10-10 05:16 Review->Improve 阅读(288) 评论(0) 推荐(0) 编辑
摘要: Given a binary tree, you need to check whether sum of all covered elements is equal to sum of all uncovered elements or not. In a binary tree, a node 阅读全文
posted @ 2017-10-10 04:45 Review->Improve 阅读(377) 评论(0) 推荐(0) 编辑
摘要: Given an unsorted array of nonnegative integers, find a continous subarray which adds to a given number. Examples: There may be more than one subarray 阅读全文
posted @ 2017-10-03 04:02 Review->Improve 阅读(479) 评论(0) 推荐(0) 编辑
摘要: Given a binary tree, generate all root to leaf paths of a binary tree. Example: Example Tree The output for the above example is [[1, 2, 4], [1, 2, 5] 阅读全文
posted @ 2017-10-03 00:34 Review->Improve 阅读(175) 评论(0) 推荐(0) 编辑
摘要: Given a string that contains only digits 0-9 and a target value, return all possibilities to add binary operators (not unary) +, -, or * between the d 阅读全文
posted @ 2017-09-29 07:26 Review->Improve 阅读(255) 评论(0) 推荐(0) 编辑
摘要: Given A binary Tree, how do you remove all the half nodes (which has only one child)? Note leaves should not be touched as they have both children as 阅读全文
posted @ 2017-09-29 01:47 Review->Improve 阅读(188) 评论(0) 推荐(0) 编辑
上一页 1 ··· 18 19 20 21 22 23 24 25 26 ··· 37 下一页