这个题目本身并不难,但是题目的挑战对时间复杂度要求较高,不适合使用暴力解法;而且由于输入数据类型为 long,可能会有很大的测试数据,那么打表
本文整理自《计算机科学精粹》一书的第一章:预备知识。主要阐述计算机科学通用的学前知识,而且要尽量精简并适用于日常使用场景。 整理想法计算机科学
之前,在博客中写过 Splash Screen 实现方法的学习笔记,现在再回顾总结的时候发现原来的思路不够清晰。刚好,Oreo 版本也提供了官方的 Splash Screen 实现支持,不妨重新
最近,在使用 TextInputLayout 的时候发生了标题所示的异常,如果不打开 Logcat 一直都不会发现有异常产生,实际使用一切正常。 最后定位问题代码,发现主要是因为我在使用 TextInputLayout
Android 虽然提供了很方便的工具类方法,但是实际上究竟要不要使用,如何使用却并不是那么简单的事情。 TextUtils 简述TextUtils 是 Android 官方提供的文本处理工具