LC-string 344. 反转字符串双指针 123456789101112131415fun reverseString(s: CharArray): Unit { var left = 0 var right = s.size - 1 while (left < right) { swap(s, left, right) left++ 2022-06-05 DataStructure #LEETCODE
location Location Permission changesBackground locationThe background location precision is the same as the foreground location precision, which depends on the location permissions that your app declares. user 2022-05-24
LC-hash 242. 有效的字母异位词1234567891011121314151617fun isAnagram(s: String, t: String): Boolean { val record = IntArray(26) // 存整数,就用整形数 s.toCharArray().forEachIndexed { _, char -> record 2022-05-21 DataStructure #LEETCODE
fastjson https://zonghaishang.gitbooks.io/fastjson-source-code-analysis/content/ FastJson为什么快https://tobebetterjavaer.com/gongju/fastjson.html#_05%E3%80%81%E6%88%91%E4%B8%BA%E4%BB%80%E4%B9%88%E5%BF%AB 为什么要进行序 2022-05-13
JVM-VALUE-DELIVER 再做leetcode时也遇到了,java时引用传递还是值传递的问题,这方面 指针就很清楚, https://segmentfault.com/a/1190000016773324 这里讲解很清楚 1. 基本数据类型的存储: A. 基本数据类型的局部变量 B. 基本数据类型的成员变量 C. 基本数据类型的静态变量 2. 引用数据类型的存储 A.基本数据类型的局部变量 定义基本数据类型的局 2022-05-05 JAVA #JVM
LC-LinkedList https://leetcode.cn/circle/discuss/jq9Zke/ 203. 移除链表元素迭代法12345678910111213fun removeElements(head: ListNode?, target: Int): ListNode? { val dummyHead = ListNode() dummyHead.next = head v 2022-05-04 #LEETCODE
LC-array Array结构数组为什么从0开始. 123int foo[5] = {1,2,3,4,5};foo[0] *(foo + 0) // 因为c语言指针偏移量从0开始 12a[3][4]a[0][0], a[0][1] , a[0][2] , a[0][3] https://developer.51cto.com/article/649423.html LEETCODE 26 2022-05-02 DataStructure #LEETCODE
Animation-Lottie anim in RecycleView https://www.jianshu.com/p/af6df7e55834 https://developer.android.com/topic/libraries/architecture/lifecycle 2022-04-27 #anim
coroutie_channel6 channelThere are four types of channels Unlimited channel , Buffered channel , Rendezvous channel , Conflated channel Rendezvous channelBy default, a “Rendezvous” channel is created. 12345678910111213 2022-04-23 #coroutie
coroutie_operator4 先看小结 转换操作符 transform 限长操作符 take(2) 末端操作符 Collect tolist toset first single reduce fold 组合操作符 zip 展平流 flatmapconcat 连接模式 Flatmapmerge 合并模式 faltMapLatest 最新展平模式 流的异常处理 Try/ catch块 catch函数 2022-04-23 #coroutie