码迷,mamicode.com
首页 >  
搜索关键字:could you do me a favor    ( 45411个结果
System V共享内存
shmread.c #include #include #include #include #include #include #include #include #include #include #include #define ERR_EXIT(m)         do         {           ...
分类:其他好文   时间:2014-05-23 08:21:49    阅读次数:274
TOM猫
#import "CHViewController.h" @interface CHViewController () @end @implementation CHViewController - (void)viewDidLoad { [super viewDidLoad]; // Do any additional setup after loading the view,...
分类:其他好文   时间:2014-05-22 12:38:44    阅读次数:369
CareerCup之2.1无序链表删除重复元素
【题目】 原文: 2.1 Write code to remove duplicates from an unsorted linked list. FOLLOW UP How would you solve this problem if a temporary buffer is not allowed? 译文: 从一个未排序的链表中移除重复的项 ...
分类:其他好文   时间:2014-05-22 12:04:13    阅读次数:196
2B01-View-Switcher
Gallery和swithcer联合使用 /* * Copyright (C) 2007 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in complian...
分类:其他好文   时间:2014-05-22 11:19:05    阅读次数:288
Candy
There are N children standing in a line. Each child is assigned a rating value. You are giving candies to these children subjected to the following requirements: Each child must have at least one candy. Children with a higher rating get more candies than...
分类:其他好文   时间:2014-05-22 11:00:49    阅读次数:285
LeetCode: Search in Rotated Sorted Array [032]
【题目】 Suppose a sorted array is rotated at some pivot unknown to you beforehand. (i.e., 0 1 2 4 5 6 7 might become 4 5 6 7 0 1 2). You are given a target value to search. If found in the array return its index, otherwise return -1. You may assume no du...
分类:其他好文   时间:2014-05-22 10:43:12    阅读次数:310
LeetCode: Valid Sudoku [035]
【题目】 Determine if a Sudoku is valid, according to: Sudoku Puzzles - The Rules. The Sudoku board could be partially filled, where empty cells are filled with the character '.'. A partially filled sudoku which is valid. Note: A valid Sudoku board (par...
分类:其他好文   时间:2014-05-22 09:58:54    阅读次数:234
LeetCode: Search Insert Position [034]
【题目】 Given a sorted array and a target value, return the index if the target is found. If not, return the index where it would be if it were inserted in order. You may assume no duplicates in the array. Here are few examples. [1,3,5,6], 5 → 2 [1,3,5,6]...
分类:其他好文   时间:2014-05-22 09:41:59    阅读次数:195
Google I/O 2013 最佳实践(2) - AndroidManifest篇
<!-- Copyright 2011 Google Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the L...
分类:移动开发   时间:2014-05-22 08:41:44    阅读次数:377
leetcode:Reorder List
问题 Given a singly linked list L: 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 example, Given {1,2,3,4}, reorde...
分类:其他好文   时间:2014-05-22 07:04:46    阅读次数:298
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!