码迷,mamicode.com
首页 >  
搜索关键字:single    ( 5020个结果
[LeetCode] Add Two Numbers
You are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes contain a single ...
分类:其他好文   时间:2014-10-27 22:58:01    阅读次数:269
single number
1 class Solution {2 public:3 int singleNumber(int A[], int n) {4 int result=A[0];5 for(int i=1;i<n;i++)6 result^=A[i];...
分类:其他好文   时间:2014-10-27 22:34:04    阅读次数:141
ACM step 1.2.2 Text Reverse
gnatius likes to write words in reverse way. Given a single line of text which is written by Ignatius, you should reverse all the words and then outpu...
分类:其他好文   时间:2014-10-27 20:57:39    阅读次数:218
单例模式之饿汉式
//单例模式之饿汉式 class Single{    private static  Single single = new Single();    private Single(){  }    public static Single getSingleInstance(){   return single;  } } public class TestSt...
分类:其他好文   时间:2014-10-27 15:45:49    阅读次数:200
[LeetCode] Single Number
Given an array of integers, every element appearstwiceexcept for one. Find that single one.Note:Your algorithm should have a linear runtime complexity...
分类:其他好文   时间:2014-10-27 12:39:09    阅读次数:192
C#中Listbox的用法
1.属性列表:SelectionMode组件中条目的选择类型,即多选(Multiple)、单选(Single)Rows列表框中显示总共多少行Selected检测条目是否被选中SelectedItem返回的类型是ListItem,获得列表框中被选择的条目Count列表框中条目的总数SelectedIndex列表框中被选择项的索引值Items泛指..
分类:Windows程序   时间:2014-10-27 07:05:07    阅读次数:303
[Leetcode] Single Number II
Given an array of integers, every element appearsthreetimes except for one. Find that single one.Note:Your algorithm should have a linear runtime comp...
分类:其他好文   时间:2014-10-27 06:54:01    阅读次数:203
【LeetCode】Add Two Numbers 解题报告
【题目】 You are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes contain a single digit. Add the two numbers and return it...
分类:其他好文   时间:2014-10-26 14:21:29    阅读次数:243
leetcode - Wildcard Matching
Implement wildcard pattern matching with support for '?' and '*'. '?' Matches any single character. '*' Matches any sequence of characters (including the empty sequence). The matching should cover t...
分类:其他好文   时间:2014-10-26 13:08:38    阅读次数:172
/MT /MD /ML /MTd /MDd /MLd 的区别
Multithreaded Libraries PerformanceThe single-threaded CRT is no longer ( in vs2005 ) available. This topic discusses how to get the maximum performan...
分类:其他好文   时间:2014-10-26 10:21:23    阅读次数:288
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!