自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

matrixdodo

quick learner

  • 博客(18)
  • 资源 (9)
  • 收藏
  • 关注

原创 [leetcode] Search in Rotated Sorted Array Python

Problem:Suppose a sorted array is rotated at some pivot unknown to you beforehand.(i.e., 0 1 2 4 5 6 7 might become 4 5 6 7 0 1 2).You are given a target value to search. If found in t

2014-05-20 10:32:12 1781

原创 [leetcode] python Remove Duplicates from Sorted Array II

problem: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

2014-05-20 08:38:43 1746

原创 Python 生成器 generator

生成器给人的感觉就是用飞

2014-05-19 10:05:44 1243

原创 python 中的内置函数 与 类

python这种语言的变量命名规则有些奇葩,我相信

2014-05-18 21:46:04 2715

原创 [leetcode]Reverse Words in a String

problem:Given an input string, reverse the string word by word.For example,Given s = "the sky is blue",return "blue is sky the".solution:

2014-05-17 22:18:04 653

原创 [leetcode] Remove Duplicates from Sorted Array python

leetcodeGiven a sorted array, remove the duplicates in place such that each element appear only once and return the new length.Do not allocate extra space for another array, you must d

2014-05-17 22:14:16 904

原创 C语言练习-2转义字符

#include int main(){ printf("how are u?\n");// 回车 printf("i am fine.\n\n"); printf("how are u? \t");//下一个输出区 printf("i am fine.\n\n"); printf("how are u \n");//光标左移一位开始输出 p

2014-05-16 17:30:58 1524

原创 C语言练习-1类型转换

#include int main(){ int a = 5; char c = 'a'; float f = 5.3; double m = 12.65; double result; printf("a + c = %d\n", a+c); // 102 printf("a + c = %c\n", a+c); // f p

2014-05-16 17:11:52 1178

原创 Python 中 input()用法 以及与raw_input() 的区别

input(xxxxxx) 其中xxxxxx是str 类,所以当你

2014-05-16 13:39:53 1831

原创 [note]Linear Programming

none

2014-05-14 14:56:31 791

转载 count_inversions in an integer list

count = 0def merge_sort(li): if len(li) < 2: return li m = len(li) / 2 return merge(merge_sort(li[:m]), merge_sort(li[m:])) def merge(l, r): global count result = [] i

2014-05-14 13:14:31 844

原创 abacus

########################################################################## 10-row School abacus# by# Michael H#########################

2014-05-09 16:14:18 1248

转载 RK4

MODULE Global_data !Symbolic names for kind types of single- and double-precision reals: INTEGER, PARAMETER :: SP = KIND(1.0) INTEGER, PARAMETER :: DP = KIND(1.0D0) !Frequently used mathematical const

2014-05-09 16:11:05 1478 2

转载 SOR

MODULE Global_data !Symbolic names for kind types of single- and double-precision reals: INTEGER, PARAMETER :: SP = KIND(1.0) INTEGER, PARAMETER :: DP = KIND(1.0D0) !Frequently used mathema

2014-05-09 16:06:15 935

原创 check_sudoku

# Define a procedure, check_sudoku,# that takes as input a square list# of lists representing an n x n# sudoku puzzle solution and returns the boolean# True if the input is a valid# sudoku square

2014-05-09 16:01:34 633

原创 mergesort in python

def mergesort(List): """ input : List, an integer list output : an sorted integer list """ n = len(List) if n == 0 or n==1: return List first = mergesort(List[:n/2]

2014-05-04 21:47:27 917

原创 double_linked_list in Python

# -*- coding: utf-8 -*-class Frob(object): def __init__(self, name): self.name = name self.before = None self.after = None def setBefore(self, before): # examp

2014-05-01 21:33:48 2863

原创 Example: solving ODE using FEM method

clc;clear;% find the solution of du/dt -1 =0 Using finite element method% the zone of solution is [0,1]E = 5; % the number of elementsN = E+1; % the number of nodes%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

2014-05-01 21:08:26 783

salary-Entry-on-PhD-fellows.pdf

Entry on PhD fellows in Denmark 20220930

2022-09-30

A simple adaptive first-order differential microphone.pd

一阶差分麦克风 差分麦克风 自适应 差分麦克风 自适应 差分麦克风 自适应 差分麦克风 自适应

2018-04-08

windows SDK installer based on .net 4.0

windows SDK installer based on .net 4.0

2017-06-18

.net framework 4.0 installer

.net framework 4.0 installer

2017-06-18

email data for naive bayes filter

email data for naive bayes filter. for further information, please drop in my blog.

2017-01-15

bird_tracking.csv 鸟类迁徙数据2013

bird_tracking.csv 鸟类迁徙数据2013

2016-12-09

Ian Goodfellow introduction to GANs ( Generative Adversarial Networks)

NIPS2016 12-9 Ian Goodfellow introduction to GANs ( Generative Adversarial Networks)

2016-12-09

linux下can总线驱动

linux下can总线驱动

2016-04-13

HangMan 猜单词 一个简易的吊死鬼游戏 python版

一个很简单的猜单词游戏。 你的机会是有限的,你每猜错一次,你要拯救的小人就出现一部分。 当整个小人出现的时候,游戏结束,你便看到了惨象:一个吊死的屌丝!大笑 可以把单词换成你每天背的单词,便于复习。。。

2016-03-22

CNN 神经网络练习

cs231n的assignment1. 含有kNN,svm算法。

2015-01-16

空空如也

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

TA关注的人

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