小奥的学习笔记

  • Home
  • Learning & Working
    • Speech Enhancement Notes
    • Programming language
    • Computer & DL
    • MOOC
  • Life
    • Life Time
    • Thinking & Comprehension
    • Volunteer
    • Plan
    • Travel
  • Footprints
  • GuestBook
  • About
    • About Me
    • 个人履历
    • 隐私策略
Leetcode

[leetcode]unique binary search trees

题目描述 Given n, how many structurally unique BST's (binary search trees) that store values 1...n?For example, Given n = 3, there are a total of 5 unique BST's. 题目解析 我们可以发现,只需求出左、右子树各有多少种,二者相乘即为以 i 作为root时BST的总数。所以我们可以用动态规划来实现。当节点数为0个的时候,子树为0个,节点为1个的时候,子树为1个,节点数为…

2019年4月15日 0条评论 1136点热度 0人点赞 yszhang 阅读全文
Leetcode

[leetcode]roman to integer(罗马数字转整数)

题目描述 Given a roman numeral, convert it to an integer.Input is guaranteed to be within the range from 1 to 3999. 题目解析 罗马数字的规律如下: 罗马数字 阿拉伯数字 I 1 V 5 X 10 L 50 C 100 D 500 M 1000 另外还要注意的是: - 相同的数字连写、所表示的数等于这些数字相加得到的数、如:Ⅲ=3; - 小的数字在大的数字的右边、所表示的数等于这些数字相加得到的数、 如:Ⅷ=8…

2019年4月15日 0条评论 1202点热度 0人点赞 yszhang 阅读全文
Leetcode

[leetcode]Same Tree

题目描述 Given two binary trees, write a function to check if they are equal or not.Two binary trees are considered equal if they are structurally identical and the nodes have the same value. 思路说明 其实这个题非常简单,算是判断一个树是不是另一个树子树的基础版,不需要调用另一个子程序,直接递归自己这个程序即可。就是判断树上每一个结点…

2019年4月15日 0条评论 1144点热度 0人点赞 yszhang 阅读全文
Leetcode

[leetcode]populating next right pointers in each node

题目描述 题目描述 Given a binary tree struct TreeLinkNode { TreeLinkNode *left; TreeLinkNode *right; TreeLinkNode *next; } Populate each next pointer to point to its next right node. If there is no next right node, the next pointer should be set toNULL. Initially, all…

2019年4月15日 0条评论 1267点热度 0人点赞 yszhang 阅读全文
Leetcode

[Leetcode]copy list with random pointer

题目描述 A linked list is given such that each node contains an additional random pointer which could point to any node in the list or null.Return a deep copy of the list. 题目解析 其实这个题目跟剑指offer里面题目35复制复杂链表是一样的。我们以下图为例 所以这个题也是分为三步: - 第一步:逐一复制A和B和C和D,复制后为A'、B'、C'和D'(加…

2019年4月11日 0条评论 1217点热度 0人点赞 yszhang 阅读全文
Leetcode

leetcode之single-number-ii、Gas station、word break

single-number-ii Given an array of integers, every element appears three times except for one. Find that single one. Note: Your algorithm should have a linear runtime complexity. Could you implement it without using extra memory? ​ int singleNumber(int A[], in…

2019年4月3日 0条评论 1307点热度 0人点赞 yszhang 阅读全文
Study-notes

腾讯应用开发岗一轮面试面经

面试的部门是:云与智慧产业事业群(CSIG,即Cloud and Smart Industries Group)。我也不知道凉没凉, 总的来说, 确实有一些部分回答的不是很好,特别是自己存在以下问题: 1.对于没用到但了解的方面,没有深入去说,即便知道一个方法,也应该把它的原理说出来。 2.对于不了解具体方法的,起码要把基本原理说出来。我太实在了,应该说一句我了解基本原理,可以说一下。 3.面试太紧张,说话太没有自信,说话不流畅。 我感觉得找时间专门总结一下自己在面试时候存在的非技术性问题,必须加以改正。 具体问了…

2019年3月28日 0条评论 1622点热度 0人点赞 yszhang 阅读全文
1…1819202122…114
搜索
欢迎关注我的个人公众号
最新 热点 随机
最新 热点 随机
WeNet: Production Oriented Streaming and Non-streaming End-to-End Speech Recognition Toolkit DEEPFILTERNET:一种基于深度滤波的全频带音频低复杂度语音增强框架 奥地利匈牙利九日游旅程 论文阅读之Study of the General Kalman Filter for Echo Cancellation 小奥看房之鸿荣源珈誉府 杭州往返旅途及西溪喜来登和万怡的体验报告
WeNet: Production Oriented Streaming and Non-streaming End-to-End Speech Recognition Toolkit
网络技术与应用(网络内涵、互联网发展过程、交换方式)知识点整理 WordPress将文章同步到新浪微博的几种方法(三种) 腾讯C++后台一面面经(基本凉凉~) We are ready!Welcome to Shandong! Welcome to my blog 《C++面向对象程序设计》2018年秋季期末考试答案(选择题)
标签聚合
Python 生活 算法 leetcode 鸟哥的linux私房菜 高中 python学习 linux Java 学习
最近评论
davidcheung 发布于 1 年前(02月09日) The problem has been fixed. May I ask if you can s...
tk88 发布于 1 年前(02月07日) Hmm is anyone else having problems with the pictur...
cuicui 发布于 1 年前(10月20日) :wink:
niming 发布于 1 年前(09月19日) 同级校友,能刷到太巧了
davidcheung 发布于 3 年前(08月16日) 我得找一下我之前整理的word文档看一下,如果找到了我就更新一下这篇文章。
Nolan 发布于 3 年前(07月25日) 您的笔记非常有帮助。贴图不显示了,可以更新一下吗?
davidcheung 发布于 4 年前(06月19日) 到没有看webrtc的代码。现在主要在看我们公司的代码了。。。只是偶尔看一看webrtc的东西。。。
aobai 发布于 4 年前(03月13日) gain_change_hangover_ 应该是每三个block 只能够调整一次,这样保证每帧...
匿名 发布于 5 年前(12月30日) 烫
小奥 发布于 5 年前(12月12日) webRTC里面的NS本身我记得就是在C++里面呀

COPYRIGHT © 2025 小奥的学习笔记. ALL RIGHTS RESERVED.

Theme Kratos Made By Seaton Jiang

陕ICP备19003234号-1

鲁公网安备37120202000100号