码迷,mamicode.com
首页 >  
搜索关键字:oj    ( 4253个结果
[leetcode]Swap Nodes in Pairs @ Python
原题地址:http://oj.leetcode.com/problems/swap-nodes-in-pairs/Given a linked list, swap every two adjacent nodes and return its head.For example,Given 1->2...
分类:编程语言   时间:2014-09-15 06:38:18    阅读次数:200
[LeetCode] Reverse Linked List II @ Python
原题地址:https://oj.leetcode.com/problems/reverse-linked-list-ii/题意:Reverse a linked list from positionmton. Do it in-place and in one-pass.For example:Gi...
分类:编程语言   时间:2014-09-14 23:38:47    阅读次数:239
[leetcode]Add Two Numbers @ Python
原题地址:https://oj.leetcode.com/problems/add-two-numbers/题意:You are given two linked lists representing two non-negative numbers. The digits are stored i...
分类:编程语言   时间:2014-09-14 23:17:17    阅读次数:292
SDUT OJ 之 人活着系列之寻找最完美的人生
人活着系列之寻找最完美的人生Time Limit: 1000ms Memory limit: 65536K有疑问?点这里^_^题目描述也许,人活着就是要尝试人世间的酸甜苦辣,喜怒哀乐,经历从婴儿到老人的一个过程吧!能看,能想,能爱,能恨,这就是活人与死人的区别。不要想着死后会怎样,谁也不知道。所以要...
分类:其他好文   时间:2014-09-14 20:37:37    阅读次数:191
[leetcode]Candy @ Python
原题地址:https://oj.leetcode.com/problems/candy/题意:There areNchildren standing in a line. Each child is assigned a rating value.You are giving candies to ...
分类:编程语言   时间:2014-09-14 11:21:16    阅读次数:172
[leetcode]Gas Station @ Python
原题地址:https://oj.leetcode.com/problems/gas-station/题意:There areNgas stations along a circular route, where the amount of gas at stationiisgas[i].You ha...
分类:编程语言   时间:2014-09-14 11:19:36    阅读次数:221
[leetcode]Plus One @ Python
原题地址:https://oj.leetcode.com/problems/plus-one/题意:Given a non-negative number represented as an array of digits, plus one to the number.The digits are...
分类:编程语言   时间:2014-09-14 05:47:06    阅读次数:218
[leetcode]Rotate Image @ Python
原题地址:https://oj.leetcode.com/problems/rotate-image/题意:You are given annxn2D matrix representing an image.Rotate the image by 90 degrees (clockwise).Fo...
分类:编程语言   时间:2014-09-14 02:29:46    阅读次数:245
[leetcode]Sudoku Solver @ Python
原题地址:https://oj.leetcode.com/problems/sudoku-solver/题意:Write a program to solve a Sudoku puzzle by filling the empty cells.Empty cells are indicated b...
分类:编程语言   时间:2014-09-13 10:34:04    阅读次数:291
3Sum and 4Sum @ Python Leetcode
1)3Sumhttps://oj.leetcode.com/problems/3sum/Given an arraySofnintegers, are there elementsa,b,cinSsuch thata+b+c= 0? Find all unique triplets in the a...
分类:编程语言   时间:2014-09-12 11:38:13    阅读次数:298
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!