自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 <leetcode>287. Find the Duplicate Number

Given an array nums containing n + 1 integers where each integer is between 1 andn (inclusive), prove that at least one duplicate number must exist. Assume that there is only one duplicate number, f

2016-09-15 15:53:42 468

原创 <leetcode>381. Insert Delete GetRandom O(1) - Duplicates allowed

381. Insert Delete GetRandom O(1) - Duplicates allowedDesign a data structure that supports all following operations inaverage O(1) time.Note: Duplicate elements are allowedinsert(val): In

2016-09-14 21:02:03 703

原创 <leetcode>396 Rotate Function

396 Rotate FunctionGiven an array of integers A and letn to be its length.Assume Bk to be an array obtained by rotating the arrayA k positions clock-wise, we define a "rotation function"F

2016-09-14 16:57:48 1192

原创 <OJ_Sicily>Inversion Number

分治算法求解逆序数

2016-06-14 20:26:42 842 3

原创 <OJ_Sicily>Connection

用涂色法实现图的统计

2016-06-13 21:26:20 779

原创 <OJ_Sicily>Brackets Matching

使用栈实现符号匹配

2016-06-13 19:47:04 749

原创 <OJ_Sicily>Longest Common Subsequence

使用动态规划求解最长公共子序列

2016-06-13 19:27:46 529

原创 <OJ_Sicily>Polynomial

用数组表示大整数处理多项式操作

2016-06-13 17:38:40 675

原创 <OJ_Sicily>Pythagorean Proposition

求解指定周长的直角三角形的解

2016-06-13 15:08:10 498

原创 <OJ_Sicily>生成字符串

回溯算法求解生成字符串

2016-06-11 18:29:58 1053

原创 <OJ_Sicily>Threecolor Problem

简单的珠子统计

2016-06-11 15:21:56 692

原创 <OJ_Sicily>Greatest Common Divisors

求解特定范围的最大公约数

2016-06-11 15:02:34 393

原创 <OJ_Sicily>Funny Game

博弈游戏

2016-06-10 19:44:52 619

原创 <OJ_Sicily>Prime Palindromes

利用回文数特点获取回文数,再进行质数判断,最终获得质数回文数

2016-06-10 17:23:45 474

原创 <OJ_Sicily>Tiling a Grid With Dominoes

使用动态规划求解方块堆叠方法数

2016-06-09 16:53:35 552

原创 <OJ_Sicily>Pair

使用队列进行无向图邻点对分割求解

2016-06-08 21:56:03 779

原创 <OJ_Sicily>Rails

堆栈问题

2016-06-08 19:04:28 612

原创 <OJ_Sicily>数字反转

利用栈的数据结构实现数字反转

2016-06-06 12:40:03 3998

原创 <OJ_Sicily>Maze

使用广度搜索算法求解迷宫最短路径

2016-06-06 11:32:30 388

原创 <OJ_Sicily>1135飞越原野

使用广度搜索算法求解最短时间路径

2016-05-27 19:34:19 880

原创 <OJ_Sicily>Forest

使用深度搜索求解森林的深度和宽度

2016-05-26 11:16:04 550

原创 <OJ_Sicily>DAG

判断有向图是否为无环有向图

2016-05-23 19:47:21 642

原创 <OJ_Sicily>Bicoloring

深度搜索

2016-05-21 15:46:03 582

原创 <OJ_Sicily>Graph Problems From Data Structure Course

无向图

2016-05-21 12:38:01 673

原创 <OJ_Sicily>无路可逃?

使用广度搜索算法实现迷宫寻路

2016-05-16 17:50:47 636

原创 <OJ_Sicily>Can I Post the letter

广度优先搜索算法解决有向图的求解

2016-05-16 17:10:20 787

原创 <OJ_Sicily>1214信号分析

找规律,使用回文串的左右对称的特点,使用一半的数获取符合要求的回文串

2016-05-12 22:37:40 776

原创 <OJ_Sicily>Knight Moves

使用广度搜索解决Knight Moves问题

2016-05-12 10:31:21 722

原创 <OJ_Sicily>1240Faulty_Odometer

DescriptionYou are given a car odometer which displays the miles traveled as an integer. The odometer has a defect, however: it proceeds from the digit 3 to the digit 5, always skipping over the dig

2016-05-10 16:35:28 813

原创 <OJ_Sicily>Sum of Consecutive Primes

使用筛选法求解素数,使用遍历方法寻找解的个数

2016-05-10 12:14:29 1185

原创 <OJ_Sicily>Maze

使用广度搜索算法实现迷宫最短路径寻找

2016-05-09 19:36:33 503

原创 <OJ_Sicily>Travelling Salesman Problem

使用动态规划算法求解旅行商问题

2016-05-09 15:43:03 1059

原创 <OJ_Sicily>Hanoi_Tower_Sequence

汉诺塔

2016-04-28 11:26:32 522

原创 <OJ_Sicily>1438Shopaholic

ConstraintsTime Limit: 1 secs, Memory Limit: 32 MBDescriptionLindsay is a shopaholic. Whenever there is a discount of the kind where you can buy three items and only pay for two, she goes comple

2016-04-27 18:23:17 537

原创 <OJ_Sicily>1134积木分发

ConstraintsTime Limit: 10 secs, Memory Limit: 32 MBDescription歌手The Pancakes到幼儿园跟小朋友玩耍,她到达的时候小朋友们已经争着积木玩了。小朋友都想要更多的积木砌一个自己喜欢的图形,砌完就可以和The Pancakes合照。同时,The Pancakes手上还有一些积木,她可以把手上的这些积木全部给一个小朋友,然

2016-04-27 10:40:12 653

原创 <OJ_Sicily>N_Queen Problem

使用回溯求解N皇后问题

2016-04-25 17:06:06 1124

原创 <OJ_Sicily>Coins完全背包问题

使用动态规划求解完全背包问题

2016-04-25 16:52:20 1095

原创 <OJ_Sicily>Encryption最长公共子序列

使用动态规划实现最长公共子序列的求解,将问题划分为子问题的求解

2016-04-25 16:42:59 971

原创 <OJ_Sicily>LIS最长上升子序列

动态规划求解最长升序子序列

2016-04-25 16:01:30 1084

原创 <OJ_Sicily>Order Crossover

顺序交叉的遗传过程

2016-04-25 15:35:49 1551

空空如也

空空如也

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

TA关注的人

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