这次写一个小程序来解析 X.509 证书的内容,主要涉及到 Base64 解码、ANS.1 结构的 DER 解码和 Object ID
🚀 代码: Github
LeetCode 218. The Skyline Problem
Difficulty : Hard
A city’s skyline is the outer contour of the silhouette formed by all the buildings in that city when viewed from a distance. Now suppose you are given the locations and height of all the buildings as shown on a cityscape photo (Figure A), write a program to output the skyline formed by these buildings collectively (Figure B).
LeetCode 128. Longest Consecutive Sequence
Difficulty : Hard
Given an unsorted array of integers, find the length of the longest consecutive elements sequence.
Your algorithm should run in O(n) complexity.
这是一个参考Android Architecture Components
中的架构设计方案,UI 上尽可能符合Material Design
的小项目。
这次在 Android 上实现一个可以选歌以及后台播放的音乐播放器,主要涉及到的技术有 Android 中的 Service 以及RxJava
。
Difficulty : Hard
The demons had captured the princess (P) and imprisoned her in the bottom-right corner of a dungeon. The dungeon consists of M x N rooms laid out in a 2D grid. Our valiant knight (K) was initially positioned in the top-left room and must fight his way through the dungeon to rescue the princess.