摘要:
Given two non empty binary trees s and t, check whether tree t has exactly the same structure and node values with a subtree of s. A subtree of s is a 阅读全文
posted @ 2018-10-11 10:26
bernieloveslife
阅读(124)
评论(0)
推荐(0)
摘要:
Given a sorted array and a target value, return the index if the target is found. If not, return the index where it would be if it were inserted in or 阅读全文
posted @ 2018-10-11 10:25
bernieloveslife
阅读(142)
评论(0)
推荐(0)
摘要:
You are a professional robber planning to rob houses along a street. Each house has a certain amount of money stashed, the only constraint stopping yo 阅读全文
posted @ 2018-10-11 10:25
bernieloveslife
阅读(91)
评论(0)
推荐(0)
摘要:
Given an array of integers nums, write a method that returns the "pivot" index of this array. We define the pivot index as the index where the sum of 阅读全文
posted @ 2018-10-11 10:25
bernieloveslife
阅读(86)
评论(0)
推荐(0)
摘要:
Design a HashSet without using any built in hash table libraries. To be specific, your design should include these functions: add(value): Insert a val 阅读全文
posted @ 2018-10-11 10:25
bernieloveslife
阅读(222)
评论(0)
推荐(0)

浙公网安备 33010602011771号