在2020年1月15日左右找人内推简历,第二天收到HR面试邀请,约了2月上旬,面试岗位:Java后台研发实习(广告业务组)。
Unique Paths III
Weekly Contest 189
https://leetcode.com/contest/weekly-contest-189
Number of Students Doing Homework at a Given Time
Given two integer arrays startTime and endTime and given an integer queryTime.
The ith student started doing their homework at the time startTime[i] and finished it at time endTime[i].
Java线程池
Java虚拟机
HeapSort
HTTP协议
操作系统
Summary Ranges
1-bit and 2-bit Characters
Question
We have two special characters. The first character can be represented by one bit 0. The second character can be represented by two bits (10 or 11).
Now given a string represented by several bits. Return whether the last character must be a one-bit character or not. The given string will always end with a zero.
Example 1:
Input:
bits = [1, 0, 0]
Output: True
Explanation:
The only way to decode it is two-bit character and one-bit character. So the last character is one-bit character.