Jason‘s Blog


  • Home

  • About

  • Tags

  • Categories

  • Archives

  • Sitemap

  • Search

matlab基础

Posted on 2020-04-29
Words count in article: 2.3k | Reading time ≈ 10
Matlab命令使用 matlab是一个计算工具,也是一种编程语言 基本计算操作 + - * % ^ 表示乘方, 5^2 五的二次方 log 代表的是自然对数 ln log2 代表的是以2为底数的一个函数 log10 代表的是以10为底数的一个函数 想要计算其他的对数,用换底公式:log8 7= ...
Read more »

1209删除字符串中所有相邻重复项II

Posted on 2020-04-29
Words count in article: 746 | Reading time ≈ 3
1209删除字符串中所有相邻重复项II下面是题目 下面是代码模板12345class Solution {public: string removeDuplicates(string s, int k) { }}; 下面是一种好方法12345678 ...
Read more »

JavaScript-11子集和扩展

Posted on 2020-04-29
Words count in article: 341 | Reading time ≈ 1
JavaScript-11子集和扩展Js的精华不包括什么? 体长使用函数定义表达式而不是函数定义语句 循环体和条件分支都是用花括号括起来,不允许再循环体和条件分支中只包含一条语句时省略花括号 不包含逗号运算符,位运算符以及++和— 不包含==和!= ,这样会进行类型转换,推荐\=\=\=和!\=\= ...
Read more »

python基本语法

Posted on 2020-04-29
Words count in article: 6.7k | Reading time ≈ 29
python 基本语法if123456# if语句age = 15if age>16: print('可以进入')else: print('禁止进入') if-elif-else 语句123456789101112# if-elif-else 语句score = 50if scor ...
Read more »

JavaScript-9类和模块

Posted on 2020-04-28
Words count in article: 5.2k | Reading time ≈ 21
JavaScript-9类和模块概况 通过定义对象的类,让每个对象都共享某些属性 类的属性,用以存放或定义状态,或行为 9.4 类的一个重要特性是“动态可继承” 9.5 检测对象的类的方式,“鸭式辩型” 9.6 实现类的方法 9.7 类的继承 9.8 ECMAScript 2015 中的类 模块 ...
Read more »

1190.反转每对括号间的字符串

Posted on 2020-04-28
Words count in article: 230 | Reading time ≈ 1
1190反转每对括号间的字符串下面是题目 下面是题目给出的代码123456class Solution {public: string reverseParentheses(string s) { }}; 解题思路和394字符串解码一 ...
Read more »

901股票价格跨度

Posted on 2020-04-28
Words count in article: 183 | Reading time ≈ 1
901股票价格跨度 下面是代码123456789101112131415class StockSpanner {public: StockSpanner() { } int next(int price) { };/** ...
Read more »

LHRandLNR

Posted on 2020-04-28
Words count in article: 744 | Reading time ≈ 3
线性递推$LHR^2$ 方法 首先解特征方程,求出每一个根包括重根 如果根都是不重复的,比如 $a_n$ = 6an-1-5an-2 解的 $r_1=1$, $r_2=5$ 那么 $a_n$ = $\alpha_1(1)^n$+$\alpha_2(5)^n$ 然后把 $a_0,a_1$带入方程算 ...
Read more »

背包问题

Posted on 2020-04-27 | In DP
Words count in article: 4.9k | Reading time ≈ 21
下面是问题背包问题是动态规划的经典问题之一。是指在一个有容积或重量限制的背包中放入物品,物品有体积、重量、价值等属性。要求在满足背包限制的情况下,如何放置物品,让背包中的物品价值之和最大。根据物品限制条件的不同,可分为01背包,完全背包,多重背包和分组背包等。 如果每个物品都有无数个,那么就是完全背 ...
Read more »

72Edit_Problem

Posted on 2020-04-27 | In DP
Words count in article: 491 | Reading time ≈ 2
下面是作业题目和力扣上的问题 动态规划算法,比较困难,这里附上一个比较容易懂的视频链接 https://www.youtube.com/watch?v=MiqoA-yF-0M 这是算法的伪代码 下面我们拿Sundays和Saturday为例,做一个动态规划表 “” s u n d a ...
Read more »
<i class="fa fa-angle-left"></i>1…323334…44<i class="fa fa-angle-right"></i>

Jason

437 posts
11 categories
61 tags
GitHub E-Mail
Links
  • 友链:杨弘的博客
  • 友链:赵奕轲的博客
  • Like it, STAR ME
0%
© 2025 Jason