码迷,mamicode.com
首页 >  
搜索关键字:lc    ( 989个结果
[LC] 107. Binary Tree Level Order Traversal II
Given a binary tree, return the bottom-up level order traversal of its nodes' values. (ie, from left to right, level by level from leaf to root). For ...
分类:其他好文   时间:2020-01-05 10:02:41    阅读次数:87
[LC] 513. Find Bottom Left Tree Value
Given a binary tree, find the leftmost value in the last row of the tree. Example 1: Input: 2 / \ 1 3 Output: 1 Example 2: Input: 1 / \ 2 3 / / \ 4 5 ...
分类:其他好文   时间:2020-01-05 09:54:14    阅读次数:60
[LC] 572. Subtree of Another Tree
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 ...
分类:其他好文   时间:2020-01-04 14:40:32    阅读次数:74
[LC] 429. N-ary Tree Level Order Traversal
Given an n-ary tree, return the level order traversal of its nodes' values. Nary-Tree input serialization is represented in their level order traversa ...
分类:其他好文   时间:2020-01-04 14:37:44    阅读次数:69
[LC] 404. Sum of Left Leaves
Find the sum of all left leaves in a given binary tree. Example: 3 / \ 9 20 / \ 15 7 There are two left leaves in the binary tree, with values 9 and 1 ...
分类:其他好文   时间:2020-01-04 14:37:15    阅读次数:81
[LC] 345. Reverse Vowels of a String
Write a function that takes a string as input and reverse only the vowels of a string. Example 1: Input: "hello" Output: "holle" Example 2: Input: "le ...
分类:其他好文   时间:2020-01-03 12:30:56    阅读次数:74
[LC] 520. Detect Capital
Given a word, you need to judge whether the usage of capitals in it is right or not. We define the usage of capitals in a word to be right when one of ...
分类:Windows程序   时间:2020-01-03 12:13:55    阅读次数:72
搭建openstack allinone版本
///2020年了,祝能观看到此文章的兄dei们新的一年,心想事成,追逐自己的目标 ///话不多说,开始 环境 centos7 配置 双网卡 一个10网段,nat通信用 一个192网段 和宿主机通信使用 2c 这个测试部署的话,不是强要求,我部署后CPU也就占20% 5.4G内存 我的宿主机也就8G ...
分类:其他好文   时间:2020-01-02 15:57:19    阅读次数:251
[LC] 293. Flip Game
You are playing the following Flip Game with your friend: Given a string that contains only these two characters: + and -, you and your friend take tu ...
分类:其他好文   时间:2020-01-01 13:29:36    阅读次数:62
[LC] 61. Rotate List
Given a linked list, rotate the list to the right by k places, where k is non-negative. Example 1: Input: 1->2->3->4->5->NULL, k = 2 Output: 4->5->1-> ...
分类:其他好文   时间:2020-01-01 11:55:07    阅读次数:52
989条   上一页 1 ... 15 16 17 18 19 ... 99 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!