When you want to make some delay in running code you can use Task.Delay(TimeSpan interval) method . This method is similar to Thread.Sleep, but it is ...
分类:
其他好文 时间:
2020-01-24 09:29:21
阅读次数:
108
群组错位词。题意是给一个数组,数组里面的元素是字符串,请将input根据错位词的原则分组输出。例子, Example: Input: ["eat", "tea", "tan", "ate", "nat", "bat"], Output: [ ["ate","eat","tea"], ["nat"," ...
分类:
其他好文 时间:
2020-01-24 09:12:21
阅读次数:
79
简介 REST(Representational State Transfer):表象层状态转变 RESTful对api进行规范和约束,使得api统一规范,增强api的可读性,便于开发。 设计原则 1、每一个URI代表一种资源 2、客户端通过四个HTTP动词(get、post、put、delete) ...
常用属性,界面跳转,按钮学习,按压颜色的变换,图片的插入学习等 工程目录: MainActivity.java: package com.example.revrse; import androidx.appcompat.app.AppCompatActivity; import android.c ...
分类:
其他好文 时间:
2020-01-23 16:48:44
阅读次数:
88
下载地址:https://github.com/LiveStockShapeAnalysis/Point-Cloud-Processing-example ...
分类:
其他好文 时间:
2020-01-23 16:47:48
阅读次数:
94
根据字符出现频率排序。题意是给一个字符串,请按照出现字符的频率高低重新排列这个字符并输出。例子, Example 1: Input: "tree" Output: "eert" Explanation: 'e' appears twice while 'r' and 't' both appear ...
分类:
其他好文 时间:
2020-01-23 13:58:02
阅读次数:
71
Given a binary tree, find the leftmost value in the last row of the tree. Example 1: Input: 2 / \ 1 3 Output: 1 Example 2: Input: 1 / \ 2 3 / / \ 4 5 ...
分类:
其他好文 时间:
2020-01-23 11:15:55
阅读次数:
75
You need to find the largest value in each row of a binary tree. Example: Input: 1 / \ 3 2 / \ \ 5 3 9 Output: [1, 3, 9] class Solution { public List< ...
分类:
其他好文 时间:
2020-01-23 11:01:57
阅读次数:
57
Given a singly linked list, determine if it is a palindrome. Example 1: Input: 1->2 Output: false Example 2: Input: 1->2->2->1 Output: true /** * Defi ...
分类:
其他好文 时间:
2020-01-23 09:28:20
阅读次数:
63
最近学了一些安卓开发,在这里分享一下SQLite数据库的使用相关部分,我使用的工具为Android Studio,后台语言为java: 首先,需要创建一个数据库辅助类DataBaseHelper,用于数据库的创建,并方便我们之后对于数据库链接及的操作: package com.example.mya ...
分类:
移动开发 时间:
2020-01-22 18:26:01
阅读次数:
105