This challenge consisted in pick and resolve 10 problems from leetcode: 6 easy, 2 medium and 2 hard. I used this problems to learn more about algorithms and data structure. The languages I chose to solve these problems are Python and JavaScript. Most of them are solved with Python, indeed.
- Clone this repo and open the files in a IDE to see each solving and hyperlink to problem description.
- Each python program will print the outputs for the hardcoded inputs. Soon I might implement more user friendly inputs, promise.
- Run the .py files in the python shell to check the code solution.
Este desafio consistia em escolher e resolver 10 problemas do leetcode: 6 fáceis, 2 médios e 2 difíceis. Usei esse desafio para aprender mais sobre algoritmos e estrutura de dados. As linguagens que escolhi para resolver esses problemas são Python e JavaScript. A maioria deles é resolvida com Python, na real.
Python
- Clone este repositório e abra os arquivos em um IDE para ver cada resolução e link para descrição.
- Cada programa python imprimirá as saídas para as entradas hardcoadas. Em breve pretendo implementar entradas mais amigáveis, prometo.
- Execute os arquivos .py no shell python para verificar a solução do código.