一月 15, 2022
1345. Jump Game IV
Description:Given an array of integers arr, you are initially positioned at t...
一月 08, 2022
1463. Cherry Pickup II
Description:You are given a rows x cols matrix grid representing a field of c...
一月 01, 2022
折叠表达式(Fold Expression),低速下脚现代C++ Chapter 2 Exercise
最近在看高速上手现代C++,这是一本很不错的书,作者用仅80余页的长度介绍了C++自C++11以来至C++20带来的许多特性。这些特性给C++带来了语言可...
十一月 16, 2021
382. Linked List Random Node
Description:Given a singly linked list, return a random node’s value from the...
十月 08, 2021
thread and process
Thread smallest sequence of programmed instructions that can be managed indep...
九月 30, 2021
98.Validate Binary Search Tree
Description:Given the root of a binary tree, determine if it is a valid binar...
九月 22, 2021
121.Buy And Sell Stock
Description:You are given an array prices where prices[i] is the price of a g...
九月 22, 2021
1239.Maximum Length of a Concatenated String with Unique Characters
Description:Given an array of strings arr. String s is a concatenation of a s...
九月 21, 2021
Why Tuple?
C++ 11 introduces a template Tuple, similar to the one in Python, allows you ...