摘要:
Invert a binary tree. Trivia: This problem was inspired by this "original tweet" by "Max Howell" : Google: 90% of our engineers use the software you w 阅读全文
posted @ 2018-12-03 15:11
A-Little-Nut
阅读(103)
评论(0)
推荐(0)
摘要:
Given a 2D binary matrix filled with 0’s and 1’s, find the largest square containing only 1’s and return its area. For example, given the following ma 阅读全文
posted @ 2018-12-03 15:09
A-Little-Nut
阅读(135)
评论(0)
推荐(0)
摘要:
Given an array of integers, find if the array contains any duplicates. Your function should return true if any value appears at least twice in the arr 阅读全文
posted @ 2018-12-03 15:08
A-Little-Nut
阅读(142)
评论(0)
推荐(0)
摘要:
Reverse a singly linked list. 阅读全文
posted @ 2018-12-03 15:07
A-Little-Nut
阅读(100)
评论(0)
推荐(0)
摘要:
Note: This is an extension of "House Robber" . After robbing those houses on that street, the thief has found himself a new place for his thievery so 阅读全文
posted @ 2018-12-03 15:06
A-Little-Nut
阅读(106)
评论(0)
推荐(0)
摘要:
Write an algorithm to determine if a number is “happy”. A happy number is a number defined by the following process: Starting with any positive intege 阅读全文
posted @ 2018-12-03 15:04
A-Little-Nut
阅读(208)
评论(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-12-03 15:02
A-Little-Nut
阅读(149)
评论(0)
推荐(0)

浙公网安备 33010602011771号