摘要:
标题:Construct Binary Tree from Inorder and Postorder Traversal通过率:26.7%难度:中等Given inorder and postorder traversal of a tree, construct the binary tree.... 阅读全文
摘要:
标题:Triangle通过率:27.1%难度:中等Given a triangle, find the minimum path sum from top to bottom. Each step you may move to adjacent numbers on the row below.F... 阅读全文
摘要:
标题:Jump Game II通过率:24.5难度:难Given an array of non-negative integers, you are initially positioned at the first index of the array.Each element in the a... 阅读全文
摘要:
标题:Jump Game通过率:27.3%难度:中等Given an array of non-negative integers, you are initially positioned at the first index of the array.Each element in the ar... 阅读全文
摘要:
标题:Partition List通过率:27.5%难度:中等Given a linked list and a valuex, partition it such that all nodes less thanxcome before nodes greater than or equal to... 阅读全文
摘要:
标题:Two Sum通过率:17.9%难度:中等Given an array of integers, find two numbers such that they add up to a specific target number.The function twoSum should retu... 阅读全文
摘要:
标题:Convert Sorted List to Binary Search Tree通过率:27.8%难度:中等Given a singly linked list where elements are sorted in ascending order, convert it to a hei... 阅读全文
摘要:
标题:Search for a Range通过率:27.7%难度:中等Given a sorted array of integers, find the starting and ending position of a given target value.Your algorithm's ru... 阅读全文
摘要:
标题:Binary Search Tree Iterator通过率:28.9%难度:中等Implement an iterator over a binary search tree (BST). Your iterator will be initialized with the root nod... 阅读全文
摘要:
标题:Convert Sorted Array to Binary Search Tree通过率:33.8%难度:中等Given an array where elements are sorted in ascending order, convert it to a height balance... 阅读全文