Day 16: Promise Time Limit
Given an asynchronous function fn and a time t in mil...
Day 17: Cache With Time Limit
Write a class that allows getting and setting key-...
(to be extended)
晚安,瑪卡巴卡。
昨天提到的 describe 與 test 搭配一起的群組寫法。今天補充一些其他寫法:
(一) describe 搭配 it
原本的寫法:
// Button...
New 21 Game
Q: https://leetcode.com/problems/new-21-game/description/
/*
dp[...
使用queue做比對,如果queue為空表示比對完成
class Solution {
public:
bool isSubsequence(strin...