05 2019 档案
摘要:我们先来看看效果 上面是根据图片检测出其中的人脸、每个人脸的年龄还有性别,非常强大 第一步: 登录https://ai.arcsoft.com.cn/,注册开发者账号,身份认证,注册应用,得到APPID和SDKKEY 第二步: 阅读SDK接入文档https://ai.arcsoft.com.cn/m
阅读全文
摘要:LeetCode第58题: Given a string s consists of upper/lower-case alphabets and empty space characters ' ', return the length of last word in the string. If
阅读全文
摘要:Given an integer array nums, find the contiguous subarray (containing at least one number) which has the largest sum and return its sum. Example: 翻译:
阅读全文
摘要:LeetCode第38题 The count-and-say sequence is the sequence of integers with the first five terms as following: 1 is read off as "one 1" or 11.11 is read
阅读全文
摘要:前面做了一个心电图的demo 心电图,结果发现那个心电图是静态的,是应用一启动就已经画好了的,整个页面向左滑动而已 下面我改造了一下,写了一个实时接收数据的动态心电图,网上其他地方也有,但是没有讲到重点 我们先看看效果图 很符合要求吧?只不过我没有到达屏幕的最右边就开始向左滑动是为了理解更方便 其实
阅读全文
摘要:这两天在研究蓝牙,网上有关蓝牙的内容非常有限,Github上的蓝牙框架也很少很复杂,为此我特地写了一个最最简单的DEMO,实现BLE蓝牙接收数据的问题, 不需要什么特定的UUID, 不需要什么断开重连, 不需要什么多连接等等, 网上都把BLE蓝牙写的好复杂好复杂,那不是我想要的,我只想为新手提供一个
阅读全文
摘要:LeetCode第28题 Return the index of the first occurrence of needle in haystack, or -1 if needle is not part of haystack. Example 1: Example 2: 翻译: 返回大字符串
阅读全文
摘要:LeetCode第27题 Given an array nums and a value val, remove all instances of that value in-place and return the new length. Do not allocate extra space f
阅读全文
摘要:LeetCode第26题 Given a sorted array nums, remove the duplicates in-place such that each element appear only once and return the new length. Do not alloc
阅读全文
摘要:LeetCode第21题 Merge two sorted linked lists and return it as a new list. The new list should be made by splicing together the nodes of the first two li
阅读全文