码迷,mamicode.com
首页 >  
搜索关键字:given a n n matrix    ( 24496个结果
Android 自定义Gallery浏览图片
之前写的《Android ImageSwitcher和Gallery的使用》一文中提到我在教室一下午为实现那个效果找各种资料。期间在网上找了一个个人觉得比较不错的效果,现在贴图上来:其实这个效果使用的知识点就是图像的获取、创建、缩放、旋转、Matrix类、Canvas类等,另外就是自定义的Galle...
分类:移动开发   时间:2014-04-28 16:06:46    阅读次数:714
InPlace Transition of a matrix
Problem illustration:given a n*n matrix, print its transition, for example , 90 degree clockwise,using only constant additional spaceanalysis:using O(...
分类:其他好文   时间:2014-04-28 03:22:07    阅读次数:513
线性时间将两个有序链表合成一个有序链表(constant additional space)
description:given two sorted singly list, merge them into one using constant additional spacealgorithm:we will reference the two linked list as list1 ...
分类:其他好文   时间:2014-04-28 00:32:52    阅读次数:711
[Leetcode] ZigZag Conversion
The string"PAYPALISHIRING"is written in a zigzag pattern on a given number of rows like this: (you may want to display this pattern in a fixed font fo...
分类:其他好文   时间:2014-04-27 21:36:45    阅读次数:515
hdu 1081 To The Max
To The Max Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 7533    Accepted Submission(s): 3647 Problem Description Given a two-dim...
分类:其他好文   时间:2014-04-27 19:54:26    阅读次数:624
leetcode day4 -- Binary Tree Postorder(Preorder) Traversal && Edit Distance
?? 1、Binary Tree Postorder Traversal Given a binary tree, return the postorder traversal of its nodes' values. For example: Given binary tree {1,#,2,3}, 1 2 / 3 retu...
分类:其他好文   时间:2014-04-27 18:58:59    阅读次数:481
24496条   上一页 1 ... 2448 2449 2450
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!