-
hyh
medium
# settlePoolDebt places the collateral to the lowest bucket, allowing for stealing it with back-running
## Summary
SettlerActions's `_settleAuction()` and `_settlePoolDebtWithDeposit()` …
-
#### Your LeetCode username
przemysaw2
#### Category of the bug
- [x] Question
- [ ] Solution
- [x] Language
- [ ] Missing Test Cases
#### Description of the bug
The optimal solut…
-
**Article:** [Fenwick Tree](https://cp-algorithms.com/data_structures/fenwick.html)
**Problem:**
It seems to be an issue in the format of the equation and mathematical formulas.
it doesn't sho…
-
The problem is to implement a segment tree data structure for efficient range queries and updates on an array.
I would like to implement a segment tree that supports the following operations:
- …
-
kutugu
medium
# Deposits prefixSum function can go into a DOS loop
## Summary
Deposits prefixSum function use a while loop, there is a continue branch in the while, and entering this branch will c…
-
### Repository commit
3a9e5fa5
### Python version (python --version)
Python 3.10.9
### Dependencies version (pip freeze)
Dependencies
appnope @ file:///home/conda/feedstock_root/bu…
-
Need to rework randomness function to base it on a deterministic seed. Afterword, we can run a continuous test to reproduce the behavior of failed removal, and further investigate the problem.
_De…
-
- 和をとるメソッドを`query`としているのが気持ち悪い
- 二分探索がちゃんと書けているか不安
- `Fenwick_Tree`はタイピングがだるいので`fenwick_tree`にする
- 列`A`から初期化を可能にする
- verifyを追加する
- https://atcoder.jp/contests/arc075/tasks/arc075_c
-
In the video of how I cleared my google interview, You show the syllabus. where it is
-
[参考](https://qiita.com/hamamu/items/2e342d46d9f54732d42c#bitbinary-indexed-tree%E3%81%AE%E3%82%A4%E3%83%B3%E3%82%BF%E3%83%BC%E3%83%95%E3%82%A7%E3%83%BC%E3%82%B9)
- [x] `fenwick_set` の実装
- [x] `fen…