码迷,mamicode.com
首页 >  
搜索关键字:arrays values    ( 12125个结果
Android应用开发中半透明效果实现方案
下面是自定义Activity半透明的效果例子:res/values/styles.xml res/values/color.xml #50000000注意:color.xml的#5000000前两位是透明的效果参数从00 到 ff(透明--不么透明),后6位是颜色的设置manifest.xmljav...
分类:移动开发   时间:2014-05-27 00:43:37    阅读次数:340
吸血鬼数字
package Pro0519;import java.util.Arrays;public class pro0519 { public static void main(String[] args) { String[] ar_str1, ar_str2; ...
分类:其他好文   时间:2014-05-24 02:22:06    阅读次数:202
android手机拨号器实现
总共分为4个部分:string值,Layout布局设计,MainActivity代码编写,给项目添加使用授权。1. string值 Phone-->res-->values-->strings.xml,代码如下: 手机拨号器 Hello world! Settings 请输...
分类:移动开发   时间:2014-05-24 00:49:54    阅读次数:508
Maven Build Profiles--reference
What is Build Profile?ABuild profileis a set of configuration values which can be used to set or override default values of Maven build. Using a build...
分类:其他好文   时间:2014-05-23 12:13:49    阅读次数:426
PL/SQL 编程(二)
1    For循环     语法:begin             for i in reverse 1..10 loop             insert into users values(i,’奥巴马‘);             end loop;           end;     注意:循环变量 i 是隐含增加的,所以无法看到      2    goto语句...
分类:数据库   时间:2014-05-22 12:12:34    阅读次数:335
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
LeetCode: Reverse Nodes in k-Group [024]
【题目】 Given a linked list, reverse the nodes of a linked list k at a time and return its modified list. If the number of nodes is not a multiple of k then left-out nodes in the end should remain as it is. You may not alter the values in the nodes, only n...
分类:其他好文   时间:2014-05-18 10:22:34    阅读次数:367
LeetCode--Binary Tree Level Order Traversal
Binary Tree Level Order Traversal  Total Accepted: 12441 Total Submissions: 40879My Submissions Given a binary tree, return the level order traversal of its nodes' values. (ie, from left t...
分类:其他好文   时间:2014-05-18 10:11:13    阅读次数:337
LeetCode: Swap Nodes in Pairs [023]
【题目】 Given a linked list, swap every two adjacent nodes and return its head. For example, Given 1->2->3->4, you should return the list as 2->1->4->3. Your algorithm should use only constant space. You may not modify the values in the list, only nodes it...
分类:其他好文   时间:2014-05-18 08:37:57    阅读次数:370
leetcode -day17 Path Sum I II & Flatten Binary Tree to Linked List & Minimum Depth of Binary Tree
1、 ?? Path Sum Given a binary tree and a sum, determine if the tree has a root-to-leaf path such that adding up all the values along the path equals the given sum. For example: Given the below...
分类:其他好文   时间:2014-05-18 03:25:06    阅读次数:301
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!