小奥的学习笔记

  • 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

[leetcode]题目解析(190425)

Remove Duplicates from sorted Array II 题目描述 Follow up for "Remove Duplicates": What if duplicates are allowed at most twice?For example, Given sorted array A =[1,1,1,2,2,3],Your function should return length =5, and A is now[1,1,2,2,3]. 题目解析 类似于Remove Duplicat…

2019年5月13日 0条评论 929点热度 0人点赞 yszhang 阅读全文
Leetcode

[leetcode]题目解析(190423)

Remove duplicates from sorted list 题目描述 Given a sorted linked list, delete all duplicates such that each element appear only once.For example, Given1->1->2, return1->2. Given1->1->2->3->3, return1->2->3.(保留1个) 题目解析 对于当前节点和下一节点的值不相等的情况,那就一直往下走,代码中是p1移动到下一个节点的操作…

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

[leetcode]题目解析(190422)

unique path 题目描述 A robot is located at the top-left corner of a m x n grid (marked 'Start' in the diagram below).The robot can only move either down or right at any point in time. The robot is trying to reach the bottom-right corner of the grid (marked 'Finish…

2019年4月22日 0条评论 1047点热度 0人点赞 yszhang 阅读全文
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条评论 1166点热度 0人点赞 yszhang 阅读全文
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条评论 991点热度 0人点赞 yszhang 阅读全文
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条评论 995点热度 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条评论 1059点热度 0人点赞 yszhang 阅读全文
1…45678
搜索
欢迎关注我的个人公众号
最新 热点 随机
最新 热点 随机
DEEPFILTERNET:一种基于深度滤波的全频带音频低复杂度语音增强框架 奥地利匈牙利九日游旅程 论文阅读之Study of the General Kalman Filter for Echo Cancellation 小奥看房之鸿荣源珈誉府 杭州往返旅途及西溪喜来登和万怡的体验报告 2022年的第一篇碎碎念
奥地利匈牙利九日游旅程DEEPFILTERNET:一种基于深度滤波的全频带音频低复杂度语音增强框架
《Python语言程序设计基础》课后习题程序整理(第2~4章) 递归读目录获取普通文件个数 Java语言程序设计(进阶)(第三章)整理 莱芜一中52级(2011级)分班表 2010 S.V Beijing Travel 20:New Clothes Photo 忏悔录——高一第一阶段水平测试总结
标签聚合
linux Java 鸟哥的linux私房菜 生活 高中 python学习 leetcode Python 学习 算法
最近评论
davidcheung 发布于 6 个月前(02月09日) The problem has been fixed. May I ask if you can s...
tk88 发布于 6 个月前(02月07日) Hmm is anyone else having problems with the pictur...
cuicui 发布于 10 个月前(10月20日) :wink:
niming 发布于 11 个月前(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号