自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(14)
  • 收藏
  • 关注

原创 recursion 递归 database sql

recursion

2022-11-29 08:30:40 208 1

原创 数据库处理(Query Processing)

数据库处理 query processing

2022-11-29 06:17:09 312

原创 数据库SQL 关系代数Relational Algebra

关系代数

2022-11-29 05:21:46 303

原创 DL289西雅图-上海成功回国记录(2021-06-25)

DL289 西雅图-上海 回国全流程登机前准备:新冠检测预约ARCpoint(Seattle & Renton )Anylab (Seattle / Renton / Tacoma )回国前两星期/更早准备所需材料(按照绿码填报信息顺序)回国前两天做核酸检测回国前一天登机前飞机上回国隔离笔者是4月初购买的达美飞机票,DL289,6月25日凌晨0:55am顺利从西雅图起飞,经停韩国两小时,再到达上海,目前在浦东新区陆家嘴明城酒店隔离。预计7月10号早晨隔离结束,中午搭乘火车,晚上回家。笔者购票后从

2021-07-05 22:18:42 3422 3

原创 刷题week3 贪婪算法 greedy algorithm

贪心算法:简单易行,局部最优解->全局最优解 (与正确结果非常相近)Leetcode 455. 分发饼干假设你是一位很棒的家长,想要给你的孩子们一些小饼干。但是,每个孩子最多只能给一块饼干。对每个孩子 i,都有一个胃口值 g[i],这是能让孩子们满足胃口的饼干的最小尺寸;并且每块饼干 j,都有一个尺寸 s[j] 。如果 s[j] >= g[i],我们可以将这个饼干 j 分配给孩子 i ,这个孩子会得到满足。你的目标是尽可能满足越多数量的孩子,并输出这个最大数值。class Solu

2021-06-06 18:40:32 122

原创 刷题week2 二分法 binary tree

特点简易 时间空间复杂度小适用方法有序, (无重复)注意事项边界要格外注意int binarySearch(int[] arr, int target){ //两个边界是闭合的,左闭右闭 【0,arr.length-1】 int left = 0; int right = arr.length - 1; //所以可以取等 while (left <= right) { //防止溢出,等同于(left + right )/ 2

2021-05-23 14:15:49 71

原创 刷题week1 递归递推 recursion

recursion把问题分拆成一个一个更小的问题,最后汇总一个简单的例子//f(n) = f(n-1) + n;public static int function(int n){ //base case 初始值 if (n == 0) { return 0; } //function函数 return function(n-1) + n; //所有数据存储在stack(栈)中 //一直到n==0,最后return 0, 才会往后慢慢加数据 //最后return function

2021-05-13 14:48:35 106

原创 微分方程DE(2.4)

how to solve exact equationsExact Equations:Condition: M(x,y) dx + N(x,y) dy = 0; Or dM/dy = dN/dxGiven that dM/dy = dN/dx, we can know that d^2f/dxdy(y goes first)=d^2f/dydx (x goes first), they are exact differentials.There exists a function f(x,y) s

2021-01-29 05:51:41 226

原创 微分方程DE(2.3)

how to solve linear 1st-order ODE’s by use of an integrating factorLinear DE: the power the derivative is raised to is 1, not the orderSeparable DE: can be written so that all x (/y) parts are on the same side.Eg: dy/dx=g(x)h(y)1st order DE:Standard

2021-01-12 16:14:12 398

原创 微分方程DE(2.2)

introduce how to solve separable equationsSeparable Equations:1 order equations with separable variablewritten in the form: f(x)dx=g(y)dy (seperate the variables and intergration)eg: y=q(x)进行积分H(y) = G(x) + cBoth are antiderivatives of p(y) = 1/h(

2021-01-08 11:26:56 164

原创 微分方程DE(2.1)

draw graphs of solutions to first-order ODE’s by using slope (or direction) fields 用两种方法绘制斜率场1st order DE:函数在 I 区间可导,连续确认x,y,那么函数在该点的切线斜率就已知,斜率场就可以被绘制Get a sense of what type of function that is and can satisfy with the DESlope and Direction FieldsCo

2021-01-07 16:37:22 910

原创 微分方程DE(1.2)

introduce the terms “initial value problem” and “boundary value problem”ppt来源于youtube:Mathispower4u视频

2021-01-06 15:29:10 111

原创 微分方程DE(1.1)

introduce definitions and terminology associated with differential equations2020.1.4

2021-01-06 15:24:14 84

原创 Leetcode905_Sort Array By Parity

LeetcodeAugust 21st905. Sort Array By ParityQ: Given an array A of non-negative integers, return an array consisting of all the even elements of A, followed by all the odd elements of A.You may return any answer array that satisfies this condition.

2020-08-23 12:02:08 110

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除