小奥的学习笔记

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

[Leetcode]merge sorted array

merge sorted array 题目描述 Given two sorted integer arrays A and B, merge B into A as one sorted array.Note:  You may assume that A has enough space to hold additional elements from B. The number of elements initialized in A and B are mand n respectively. 题目解析 由于…

2019年4月18日 0条评论 1135点热度 0人点赞 davidcheung 阅读全文
Leetcode

[leetcode]n queens ii

n queens ii 题目描述 Follow up for N-Queens problem.Now, instead outputting board configurations, return the total number of distinct solutions. 题目解析 我们令x[i]的值为第i个皇后所在的列数。那么我们第一个皇后的位置可以在第一行任意一个位置任选,所以我们试出来第一个皇后在第1到第n个列位置下的不同情况(一共有n颗n叉树)。然后安排完第一个皇后位置后,第二个皇后位置在第二行也是…

2019年4月17日 0条评论 970点热度 0人点赞 davidcheung 阅读全文
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条评论 972点热度 0人点赞 davidcheung 阅读全文
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条评论 1031点热度 0人点赞 davidcheung 阅读全文
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条评论 978点热度 0人点赞 davidcheung 阅读全文
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条评论 1107点热度 0人点赞 davidcheung 阅读全文
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条评论 1004点热度 0人点赞 davidcheung 阅读全文
1…1516171819…72
搜索
欢迎关注我的个人公众号
最新 热点 随机
最新 热点 随机
DEEPFILTERNET:一种基于深度滤波的全频带音频低复杂度语音增强框架 奥地利匈牙利九日游旅程 论文阅读之Study of the General Kalman Filter for Echo Cancellation 小奥看房之鸿荣源珈誉府 杭州往返旅途及西溪喜来登和万怡的体验报告 2022年的第一篇碎碎念
奥地利匈牙利九日游旅程DEEPFILTERNET:一种基于深度滤波的全频带音频低复杂度语音增强框架
这几天很忙,很忙,很忙! C++ Primer Plus(第五版)第11章编程题答案 C++:实现“鱼额宝” 生活点滴:杯具的高中作息时间表 WordPress将文章同步到新浪微博的几种方法(三种) Java语言程序设计【学堂在线】(第三章)整理
标签聚合
鸟哥的linux私房菜 算法 Python python学习 学习 生活 高中 Java leetcode linux
最近评论
davidcheung 发布于 5 个月前(02月09日) The problem has been fixed. May I ask if you can s...
tk88 发布于 5 个月前(02月07日) Hmm is anyone else having problems with the pictur...
cuicui 发布于 9 个月前(10月20日) :wink:
niming 发布于 10 个月前(09月19日) 同级校友,能刷到太巧了
davidcheung 发布于 2 年前(08月16日) 我得找一下我之前整理的word文档看一下,如果找到了我就更新一下这篇文章。
Nolan 发布于 2 年前(07月25日) 您的笔记非常有帮助。贴图不显示了,可以更新一下吗?
davidcheung 发布于 3 年前(06月19日) 到没有看webrtc的代码。现在主要在看我们公司的代码了。。。只是偶尔看一看webrtc的东西。。。
aobai 发布于 3 年前(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号