Repositório com algumas soluções para code problems.
LeetCode: profile
# | Title | Solution | Difficulty |
---|---|---|---|
1 | Two Sum | JS | Easy |
26 | Remove Duplicates from Sorted Array | JS | Easy |
485 | Max Consecutive Ones | JS | Easy |
977 | Squares of a Sorted Array | JS | Easy |
1295 | Find Numbers with Even Number of Digits | JS | Easy |
URI Online Judge: profile
URi divide os problemas nas categorias: Begginer, Ad-Hoc, Strings, Data Structures and Libraries, Mathematics, Paradigms, Graph, Computational Geometry, SQL
# | Problem description | Solution | Level |
---|---|---|---|
1001 | Extremely Basic | C, Python | 4 |
1002 | Area of a Circle | C | 4 |
1003 | Simple Sum | C | 1 |
1004 | Simple Product | C | 1 |
1005 | Average 1 | C | 2 |
1006 | Average 2 | C | 1 |
1007 | Difference | C | 1 |
1008 | Salary | C | 2 |
1009 | Salary with Bonus | C | 2 |
1010 | Simple Calculate | C | 3 |
1011 | Sphere | C | 2 |
1012 | Area | C | 2 |
1013 | The Greatest | C | 3 |
1014 | Consumption | C | 1 |
1015 | Distance Between Two Points | C | 1 |
1016 | Distance | Python | 1 |
1017 | Fuel Spent | Python | 1 |
1018 | Banknotes | Python | 4 |
1019 | Time Conversion | Python | 1 |
1020 | Age in Days | Python | 2 |
1021 | Banknotes and Coins | Python | 6 |
1035 | Selection Test 1 | Python | 2 |
1036 | Bhaskara's Formula | Python | 3 |
1037 | Interval | Python | 3 |
1038 | Snack | Python | 1 |
1173 | Array fill I | Python | 1 |
1174 | Array Selection I | Python | 3 |
1175 | Array change I | Python | 2 |
1176 | Fibonacci Array | Python | 3 |
# | Problem description | Solution | Level |
---|---|---|---|
1024 | Encryption | C | 5 |
1257 | Array Hash | Python | 3 |
# | Problem description | Solution | Level |
---|---|---|---|
1068 | Parenthesis Balance I | Python | 5 |
1069 | Diamonds and Sand | Python | 3 |
1110 | Throwing Cards Away | Python | 3 |
1211 | Economic Phonebook | Python | 5 |
1244 | Sort by Length | Python | 4 |
1260 | Hardwood Species | Python | 5 |
1261 | Hay Points | Python | 2 |
1281 | Going to the Market | Python | 3 |
1340 | I Can Guess the Data Structure! | Python | 2 |
1401 | Generating Fast, Sorted Permutation | C++ | 4 |
1430 | Jingle Composing | Python | 2 |
1451 | Broken Keyboard | Python | 6 |
1766 | The Dark Elf | Python | 3 |
2136 | Friends of Habay | Python | 4 |
# | Problem description | Solution | Level |
---|---|---|---|
1028 | Collectable Cards | Python | 3 |
1221 | Fast Prime Number | C++ | 6 |
1537 | Bank Line | C++ | 4 |
1582 | The Pythagorean Theorem | Python | 5 |
2180 | Travel to Mars in Primo Speed | Python | 2 |
2232 | Pascal's Triangle | Python | 1 |
2291 | Divine Numbers | C++ | 8 |
2514 | Lunar Alignment | Python | 5 |
2660 | Cigarras Periódicas | Python | 6 |
2661 | Despojados | Python | 6 |
2674 | Super Primes: Engage! | Python | 7 |
# | Problem description | Solution | Level |
---|---|---|---|
1602 | Hyperprimes | C++ | 8 |
# | Problem description | Solution | Level |
---|---|---|---|
1076 | Design Labirints | Python | 3 |
1082 | Connected Components | Python | 5 |
2854 | Family Tree | Python | 4 |
2959 | StopAll | Python | 6 |
# | Problem description | Solution | Level |
---|---|---|---|
2602 | Basic Select | SQL | 4 |
2603 | Customer Address | SQL | 1 |
2604 | Under 10 or Greater Than 100 | SQL | 2 |