fix: typo, build
All checks were successful
Build and Deploy Quartz / build-and-deploy (push) Successful in 1m7s
All checks were successful
Build and Deploy Quartz / build-and-deploy (push) Successful in 1m7s
This commit is contained in:
@@ -13,6 +13,7 @@ struct ProductInfo {
|
||||
// higher number means better quality
|
||||
int quality; // [0, 10000]
|
||||
int price; // [0, INT_MAX)
|
||||
};
|
||||
```
|
||||
|
||||
Given a collection of `ProductInfo`, then answer several queries.
|
||||
@@ -28,7 +29,7 @@ We could also say: Given array of pair `{a, b}`, when query gives `k`, find pair
|
||||
|
||||
## Complexity Requirement
|
||||
|
||||
Answer query should be in $O(1)$ time complexity after $O(n)$ pre-processing. Where $n$ is the range size of `pair.a`
|
||||
Answer query should be in $O(1)$ time complexity after $O(n)$ pre-processing in which $n$ is the range size of `pair.a`
|
||||
|
||||
# Solution
|
||||
|
||||
|
||||
Reference in New Issue
Block a user