码迷,mamicode.com
首页 >  
搜索关键字:abap example    ( 18648个结果
Android ActionBar下拉选项
package com.example.actionBarTest.actionBarList;import android.app.ActionBar;import android.app.Activity;import android.app.Fragment;import android.os...
分类:移动开发   时间:2014-05-12 15:44:57    阅读次数:398
【LeetCode】Longest Consecutive Sequence
Given an unsorted array of integers, find the length of the longest consecutive elements sequence.For example,Given[100, 4, 200, 1, 3, 2],The longest ...
分类:其他好文   时间:2014-05-10 20:06:26    阅读次数:404
Leetcode | Sum Root to Leaf Numbers
Given a binary tree containing digits from 0-9 only, each root-to-leaf path could represent a number.An example is the root-to-leaf path 1->2->3 which...
分类:其他好文   时间:2014-05-05 23:55:36    阅读次数:407
Add Binary
Given two binary strings, return their sum (also a binary string).For example,a ="11"b ="1"Return"100".思路:一个二进制字符串相加;首先从字符串的末尾开始,先二进制字符转化为数字,然后再相加;然后将...
分类:其他好文   时间:2014-05-05 23:10:15    阅读次数:319
Leetcode | Longest Consecutive Sequence
Given an unsorted array of integers, find the length of the longest consecutive elements sequence.For example,Given [100, 4, 200, 1, 3, 2],The longest...
分类:其他好文   时间:2014-05-05 23:01:41    阅读次数:374
Reverse Linked List II
Link:http://oj.leetcode.com/problems/reverse-linked-list-ii/Reverse a linked list from positionmton. Do it in-place and in one-pass.For example:Given1...
分类:其他好文   时间:2014-05-05 22:46:11    阅读次数:411
Swap Nodes in Pairs
Link:http://oj.leetcode.com/problems/swap-nodes-in-pairs/Given a linked list, swap every two adjacent nodes and return its head.For example,Given1->2-...
分类:其他好文   时间:2014-05-05 22:45:37    阅读次数:331
Lowest Bit------HDOJ杭电1196(想法很重要)
Problem Description Given an positive integer A (1 For example, given A = 26, we can write A in binary form as 11010, so the lowest bit of A is 10, so the output should be 2. Another example...
分类:其他好文   时间:2014-05-05 13:22:39    阅读次数:394
Android apk file
apk file 其实就是zip文件, 可以将其重命名为zip文件,然后用unzip命令解压。unzip example1.apk -d ./example_dir tree . ├── AndroidManifest.xml ├── classes.dex ├── META-INF │   ├── CERT.RSA │   ├── CERT.SF │   └── MANIFEST.MF ├── ...
分类:移动开发   时间:2014-05-05 13:12:59    阅读次数:469
codechef Transform the Expression 转换成逆波兰式
把一般式子转换成逆波兰式。 这里的都是加括号的,难度降低点。 Example Input: 3 (a+(b*c)) ((a+b)*(z+x)) ((a+t)*((b+(a+c))^(c+d))) Output: abc*+ ab+zx+* at+bac++cd+^* 知道其特点就好办: 1 遇到字母一定是可以输出的 2 遇到操作符号就入栈 3 遇到括号')',就出栈...
分类:其他好文   时间:2014-05-03 15:35:28    阅读次数:317
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!