码迷,mamicode.com
首页 >  
搜索关键字:without    ( 3201个结果
HDU 3746 Cyclic Nacklace (KMP找循环节)
Problem Description CC always becomes very depressed at the end of this month, he has checked his credit card yesterday, without any surprise, there are only 99.9 yuan left. he is too distressed an...
分类:其他好文   时间:2014-11-09 16:42:48    阅读次数:131
Leetcode-Recover BST
Two elements of a binary search tree (BST) are swapped by mistake.Recover the tree without changing its structure.Note:A solution using O(n) space is ...
分类:其他好文   时间:2014-11-09 07:30:45    阅读次数:155
leetcode 9.Palindrome Number
Determine whether an integer is a palindrome. Do this without extra space.Notes:1) Negative number is notpalindrome.2) Compare from head to tail, cons...
分类:其他好文   时间:2014-11-08 16:43:57    阅读次数:124
Gem5下同时模拟多个benchmark
仅模拟一个benchmark的脚本 # Copyright (c) 2006-2008 The Regents of The University of Michigan # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are...
分类:其他好文   时间:2014-11-07 11:17:39    阅读次数:385
Android--Facebook Login without LoginButton
1.引入facebook 工程lib,在Manifest中声明com.facebook.LoginActivity,facebook_app_id2.调用方式:1).初始化facebookLogin,设置回调private FacebookLogin facebookLogin;facebookLo...
分类:移动开发   时间:2014-11-06 19:33:01    阅读次数:146
Go Object Oriented Design
Go hastypes and valuesrather than classes and objects. So can a language without classes or objects be object-oriented? While Go may not fit the typical mold of an OOP language, it does ?provide m...
分类:其他好文   时间:2014-11-06 15:14:02    阅读次数:157
LeetCode:Palindrome Number
题目描述: Determine whether an integer is a palindrome. Do this without extra space. 代码: bool Solution::isPalindrome(int x) { int a = x; int b = 0; while(a > 0) { b = b * ...
分类:其他好文   时间:2014-11-05 21:35:26    阅读次数:167
JSON与DataTable(DataSet)相互转化
public static string CreateJsonParameters(DataTable dt) { /* /**************************************************************************** * Without ....
分类:Web程序   时间:2014-11-05 12:56:43    阅读次数:328
[LeetCode] Reorder List
Given a singlylinked listL:L0→L1→…→Ln-1→Ln,reorder it to:L0→Ln→L1→Ln-1→L2→Ln-2→…You must do this in-place without altering the nodes' values.For examp...
分类:其他好文   时间:2014-11-04 14:34:54    阅读次数:155
[LeetCode] Linked List Cycle II
Given a linked list, return the node where the cycle begins. If there is no cycle, returnnull.Follow up:Can you solve it without using extra space?思路:...
分类:其他好文   时间:2014-11-04 10:40:26    阅读次数:143
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!