码迷,mamicode.com
首页 >  
搜索关键字:example    ( 17798个结果)
80 remove duplicates from sorted array 2
| 分类 leetcode | Follow up for "Remove Duplicates":What if duplicates are allowed at most twice?For example,Given sorted array nums = [1,1,1,2,2,3],You... ...
分类:其他好文   时间:2020-01-29 12:53:10    阅读次数:91
R语言 subset()函数用法
subset() 函数: subset(dataset , subset , select ) dataset 是 要进行操作的数据集 subset 是对数据的某些字段进行操作 select 选取要显示的字段 Example : ```{r spdep} hightech aa = subset(h ...
分类:编程语言   时间:2020-01-29 12:42:10    阅读次数:774
273. Integer to English Words
Convert a non-negative integer to its english words representation. Given input is guaranteed to be less than 231 - 1. Example 1: Input: 123 Output: " ...
分类:其他好文   时间:2020-01-29 10:50:06    阅读次数:54
[LeetCode] 23. Merge k Sorted Lists
合并K个有序链表。题目即是题意,例子, Example: Input: [ 1->4->5, 1->3->4, 2->6 ] Output: 1->1->2->3->4->4->5->6 这个题的最优解应该是用priority queue解决但是因为JS实现PQ太过麻烦,所以我这里给出次优解,用21 ...
分类:其他好文   时间:2020-01-29 10:48:10    阅读次数:84
[LeetCode] 13. Roman to Integer
罗马数字转换整数。题意跟12题恰好相反。例子, Example 1: Input: "III" Output: 3 Example 2: Input: "IV" Output: 4 Example 3: Input: "IX" Output: 9 Example 4: Input: "LVIII" ...
分类:其他好文   时间:2020-01-29 10:30:12    阅读次数:70
[LeetCode] 12. Integer to Roman
整数转换罗马数字。13题是正好相反。 题意是给一个整数,请把它转换成罗马数字。规则如下, Symbol Value I 1 V 5 X 10 L 50 C 100 D 500 M 1000 例子, Example 1: Input: 3 Output: "III" Example 2: Input: ...
分类:其他好文   时间:2020-01-29 10:16:44    阅读次数:73
Github高级搜索
in:name example 名字中有“example” in:readme example readme中有“example” in:description example 描述中有“example” stars: 1000 star 1000 forks: 1000 fork 1000 pus ...
分类:其他好文   时间:2020-01-29 00:47:50    阅读次数:70
openm之ApriTag-3D定位
AprilTag最神奇的是3D定位的功能,它可以得知Tag的空间位置,一共有6个自由度,三个位置,三个角度。 # AprilTags Example # # This example shows the power of the OpenMV Cam to detect April Tags # o ...
分类:其他好文   时间:2020-01-28 23:17:37    阅读次数:165
android界面布局
(一)LinearLayout界面编排模式 他的格式是按照线性顺序,由上往下或右左往右,逐一排列界面组件。 layout_width:中的“match_parent”表示要填满他所在的外框,而“wrap_content”表示它的大小只要满足内部所包含的界面组件即可。 android:orientat ...
分类:移动开发   时间:2020-01-28 22:56:17    阅读次数:102
[record] 初入android
参考1: https://www.javatpoint.com/hello-android-example 首先下载android studio 然后新建一个empty activity的项目。 然后新建一个虚拟设备,AVD。我选择pixel xl,API level 29,也就是android 1 ...
分类:移动开发   时间:2020-01-28 19:34:55    阅读次数:101
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!