09 2018 档案

摘要:比如字符串“dog loves pig”,翻转成“pig loves dog”“how are you”翻转成“you are how”思路是把字符串整体逆序,然后找到每个单词,再把每个单词的字符逆序一遍可是现在的面试要求就是不能用String,不能用库函数给定你的就... 阅读全文
posted @ 2018-09-30 11:33 绿叶萌飞 阅读(113) 评论(0) 推荐(0) 编辑
摘要:爱奇艺 2019校招 Android方向试卷在线考试编程题|20.0分2/2清雨的自助餐时间限制:C/C++语言 1000MS;其他语言 3000MS内存限制:C/C++语言 131072KB;其他语言 655360KB题目描述:清雨又在吃自助餐了。排在清雨面前的有N... 阅读全文
posted @ 2018-09-28 20:43 绿叶萌飞 阅读(100) 评论(0) 推荐(0) 编辑
摘要:You are given two non-empty linked lists representing two non-negative integers. The digits are stored in reverse order and each of th... 阅读全文
posted @ 2018-09-22 21:20 绿叶萌飞 阅读(84) 评论(0) 推荐(0) 编辑
摘要:Given a string, find the length of the longest substring without repeating characters.Example 1:Input: "abcabcbb"Output: 3 Explanation... 阅读全文
posted @ 2018-09-13 13:03 绿叶萌飞 阅读(145) 评论(0) 推荐(0) 编辑
摘要:Given an array of integers where 1 ≤ a[i] ≤ n (n = size of array), some elements appear twice and others appear once.Find all the elem... 阅读全文
posted @ 2018-09-13 12:09 绿叶萌飞 阅读(386) 评论(0) 推荐(0) 编辑
摘要:只是熟悉MediaPlayer用法简易功能是:播放暂停,停止后从头播放,进度条跟随音乐进度,拖动进度条音乐也随之改变播放进度。网上音乐接口百度能够搜到,这里就只写一点原理。官方文档地址:https://developer.android.google.cn/refer... 阅读全文
posted @ 2018-09-11 13:17 绿叶萌飞 阅读(487) 评论(0) 推荐(0) 编辑
摘要:目录表示图形的几种方式:创建原图的副本:对图形的处理(旋转、缩放、平移、镜面、倒影):实现简易画板:撕衣服小案例:关于dp、dip、dpi、px、sp:Bitmap及缓存相关阅读: 简易画板代码:https://github.com/liuchenyang0515/... 阅读全文
posted @ 2018-09-08 10:40 绿叶萌飞 阅读(406) 评论(0) 推荐(0) 编辑
摘要:You are a professional robber planning to rob houses along a street. Each house has a certain amount of money stashed, the only constr... 阅读全文
posted @ 2018-09-04 20:48 绿叶萌飞 阅读(288) 评论(0) 推荐(0) 编辑
摘要:java自带的优先级队列默认是小顶堆,现在来写一个大顶堆的自带的优先级队列用法见之前的这篇博客:https://blog.csdn.net/qq_34115899/article/details/79389066堆排序见这里:https://blog.csdn.net... 阅读全文
posted @ 2018-09-02 14:10 绿叶萌飞 阅读(249) 评论(0) 推荐(0) 编辑
摘要:目录内容提供者:暴露增删改查:通过内容提供者备份短信:查询联系人信息:插入联系人:内容观察者: 内容提供者:内容提供器(Content Provider)主要用于在不同的应用程序之间实现数据共享的功能,它提供了一套完整的机制,允许一个程序访问另一个程序中的数据,同时... 阅读全文
posted @ 2018-09-01 20:12 绿叶萌飞 阅读(958) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示