Skip to content

Instantly share code, notes, and snippets.

View juliaramosguedes's full-sized avatar
👍
DONT PANIC!

Julia Ramos juliaramosguedes

👍
DONT PANIC!
View GitHub Profile
@juliaramosguedes
juliaramosguedes / Longest common prefix
Last active October 1, 2022 15:19
Algorithms study
const longestCommonPrefix = (strs: string[]): string => {
return strs.reduce((acc, current) => {
while (current.slice(0, acc.length) !== acc) {
acc = acc.slice(0, acc.length - 1);
}
return acc;
}, strs[0])
};
@juliaramosguedes
juliaramosguedes / settings.json
Last active November 11, 2022 14:54 — forked from diego3g/NODE.md
✏️ Minha config do VSCode atualizada
{
// Define o tema do VSCode
"workbench.colorTheme": "Dracula",
// Configura tamanho e família da fonte
"editor.fontSize": 14,
"editor.lineHeight": 26,
"editor.fontFamily": "Fira Code",
"editor.fontLigatures": true,
"explorer.compactFolders": false,
// Aplica linhas verticais para lembrar de quebrar linha em códigos muito grandes