上一页 1 2 3 4 5 6 7 8 9 ··· 11 下一页

2016年6月6日

摘要: Write an efficient algorithm that searches for a value in an m x n matrix. This matrix has the following properties: Integers in each row are sorted i 阅读全文
posted @ 2016-06-06 20:15 烁宝宝 阅读(199) 评论(0) 推荐(0)

2016年6月3日

摘要: 只需要加android:windowSoftInputMode="adjustPan"就可以如: <activity android:name=".Enhance_Monitoring" android:windowSoftInputMode="adjustPan"> 阅读全文
posted @ 2016-06-03 14:13 烁宝宝 阅读(212) 评论(0) 推荐(0)
 
摘要: 只需要加android:windowSoftInputMode="stateHidden|stateAlwaysHidden"就可以 如:<activity android:name=".My_Message" android:windowSoftInputMode="stateHidden|sta 阅读全文
posted @ 2016-06-03 14:11 烁宝宝 阅读(2300) 评论(0) 推荐(0)

2016年5月30日

摘要: 在不同的分辨率下,Android字体大小怎么自适应分辨率的变化? 假设需要适应320x240,480x320分辨率。在res目录下新建文件夹values-320x240, values-480x320。然后在文件夹 values ,values-320x240 和 values-480x320 下新 阅读全文
posted @ 2016-05-30 18:50 烁宝宝 阅读(571) 评论(0) 推荐(0)
 
摘要: 看到好多客官说Genymotion的android5.1系统还是会出现错误,这是因为这个帖子是在2013年写的,两年左右时间,Android发生了很多变化,之前的Translation库已经太老了。 现在转载一个新的库给大家使用,有需要的客官可以去这里去下载GenyMotion-ARM-Transl 阅读全文
posted @ 2016-05-30 18:49 烁宝宝 阅读(145) 评论(0) 推荐(0)
 
摘要: Given a complete binary tree, count the number of nodes. Definition of a complete binary tree from Wikipedia:In a complete binary tree every level, ex 阅读全文
posted @ 2016-05-30 15:01 烁宝宝 阅读(184) 评论(0) 推荐(0)

2016年5月25日

摘要: Write a function that takes a string as input and reverse only the vowels of a string. Example 1:Given s = "hello", return "holle". Example 2:Given s 阅读全文
posted @ 2016-05-25 18:45 烁宝宝 阅读(159) 评论(0) 推荐(0)
 
摘要: Given two arrays, write a function to compute their intersection. Example:Given nums1 = [1, 2, 2, 1], nums2 = [2, 2], return [2, 2]. Note: Each elemen 阅读全文
posted @ 2016-05-25 18:23 烁宝宝 阅读(119) 评论(0) 推荐(0)
 
摘要: Given two arrays, write a function to compute their intersection. Example:Given nums1 = [1, 2, 2, 1], nums2 = [2, 2], return [2]. Note: Each element i 阅读全文
posted @ 2016-05-25 18:12 烁宝宝 阅读(198) 评论(0) 推荐(0)
 
摘要: Given a binary tree, determine if it is a valid binary search tree (BST). Assume a BST is defined as follows: The left subtree of a node contains only 阅读全文
posted @ 2016-05-25 14:27 烁宝宝 阅读(206) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 9 ··· 11 下一页