-
Gravar videos explicando o funcionamento do seguintes algoritmos:
- MergeSort
- QuickSort
- ShellSort
-
Tópicos do vídeo:
- Introdução: Apresentação da história do algoritmo, criador e especificações.
- Pseudocódigo: Demonstração do pseudocodigo que representa o algoritmo.
-
Exemplo: Em formato de desenho, tabelas, etc.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export const bankersRoundValue = (value, decimals = 0) => { | |
const exp = 10 ** decimals; | |
const number = value * exp; | |
const roundedValue = Math.round(number); | |
const isEven = roundedValue % 2 === 0 ? roundedValue : roundedValue - 1; | |
const finalValue = Math.abs(number) % 1 === 0.5 ? isEven : roundedValue; | |
return finalValue; | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* ### Base Spacing Unit ### */ | |
:root { | |
--base-space-unit: 0.5em; | |
} | |
/* ### Padding & Margin Helpers ### */ | |
/* Padding */ | |
.pa-0 { | |
padding: 0; | |
} |