feat: color
This commit is contained in:
parent
285f0ef1e0
commit
000e644c6b
4 changed files with 27 additions and 13 deletions
|
|
@ -4,6 +4,9 @@ date: "30/07/2024"
|
|||
useKatex: true
|
||||
---
|
||||
|
||||
import { Code } from 'astro:components';
|
||||
|
||||
|
||||
# context
|
||||
|
||||
While working for [TRB Capital Management](https://trbcap.com/), certain strategies necessitated finding the minimum and maximum of a moving window of prices.
|
||||
|
|
@ -12,6 +15,7 @@ While working for [TRB Capital Management](https://trbcap.com/), certain strateg
|
|||
|
||||
Design a data structure supporting the following operations:
|
||||
|
||||
|
||||
- `build(size_t capacity)` : initialize the data structure with capacity/window size `capacity`
|
||||
The data structure must always hold $\leq$ `capacity` prices.
|
||||
- `void push_back(double value)`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue