1
1
mirror of https://github.com/theoludwig/programming-challenges.git synced 2024-12-08 00:45:29 +01:00

docs(challenges): improvements to Constraints LaTeX/KaTeX syntax

This commit is contained in:
Théo LUDWIG 2023-08-27 15:09:31 +02:00
parent a081ec8faf
commit 142dc9d1dd
Signed by: theoludwig
GPG Key ID: ADFE5A563D718F3B
4 changed files with 7 additions and 7 deletions

View File

@ -27,7 +27,7 @@ available ingredients.
### Constraints
- $$1 <= N <= 10$$
- $$1 \leq N \leq 10$$
- All ingredient quantities will be integers between 1 and 10 000.
## Source

View File

@ -24,7 +24,7 @@ You are given a list of `n` array definitions and your job is to figure out what
### Constraints
- $$1 <= n <= 100$$
- $$1 \leq n \leq 100$$
- Array names consist only of uppercase letters A to Z.
- Array lengths are between 1 and 100 (no empty arrays).
- Indexing operations have at most 50 levels of nesting.

View File

@ -10,8 +10,8 @@ You must implement a solution with a linear runtime complexity and use only cons
### Constraints
- $$1 <= numbers.length <= 3 \times 10^4$$
- $$-3 \times 10^4 <= numbers[index] <= 3 \times 10^4$$
- $$1 \leq numbers.length \leq 3 \times 10^4$$
- $$-3 \times 10^4 \leq numbers[index] \leq 3 \times 10^4$$
- Each element in the array appears twice except for one element which appears only once.
## Source

View File

@ -11,12 +11,12 @@ Write a function that takes a list of integers and sort them in ascending order.
## Input
- **Line 1:** An integer `n` for the length of the list of integers
- **`n` next lines:** the numbers to sort
- **Line 1:** An integer $n$ for the length of the list of integers
- **$n$ next lines:** the numbers to sort
### Constraints
- List of integers length <= 25 000
- $$n \leq 25 000$$
## Source