Here are my solutions to the common coding challenges. You can easily test my code via browser at tutorialspoint.com
The solutions in this repo are not meant to be the best ones. You may find better solutions out there. Bear in mind that in practice optimal solution depends on various parameters such as workset data, environment, constraints etc.
Challenge | Python | Java | C++ |
---|---|---|---|
Minimum Value in Subsequence | Intermediate | Solution | |
Count Integers Divisible by K | Intermediate | Solution | |
Missing Natural Number | Intermediate | Solution | |
Max Counter | Intermediate | Solution | |
Find Maximum Binary Gap Substring | Easy | Solution | |
Array Cyclic Rotation | Very Easy | Solution |
https://www.hackerrank.com/domains/tutorials/10-days-of-statistics
Challenge | Description | Python | Java | C++ |
---|---|---|---|---|
Day 00: Weighted Mean | Challenge | Solution | ||
Day 01: Quartiles | Challenge | Solution | ||
Day 01: Interquartile Range | Challenge | Solution | ||
Day 01: Standard Deviation | Challenge | Solution | ||
Day 04: Binomial Distribution | Challenge | Solution |
https://www.hackerrank.com/domains/tutorials/10-days-of-statistics
Challenge | Description | Python | Java | C++ |
---|---|---|---|---|
Day 00: Hello, World. | Challenge | Solution | ||
Day 11: 2D Arrays | Challenge | Solution | ||
Day 12: Inheritance | Challenge | Solution | ||
Day 13: Abstract Classes | Challenge | Solution | ||
Day 15: Linked Lists | Challenge | Solution | ||
Day 16: Exceptions | Challenge | Solution | ||
Day 17: More Exceptions | Challenge | Solution | ||
Day 18: Queues and Stacks | Challenge | Solution | ||
Day 19: Interfaces | Challenge | Solution | ||
Day 20: Bubblesort | Challenge | Solution | ||
Day 21: Generics | Challenge | Solution | ||
Day 22: More Exceptions | Challenge | Solution | ||
Day 23: More Exceptions | Challenge | Solution | ||
Day 24: More Linked Lists | Challenge | Solution | ||
Day 25: Running Time Complexity | Challenge | Solution | ||
Day 26: Nested Logic | Challenge | Solution | ||
Day 27: Testing | Challenge | Solution | ||
Day 28: RegEx Patterns | Challenge | Solution | ||
Day 29: Bitwise AND | Challenge | Solution |
Challenge | Description | Python | Java | C++ |
---|
Challenge | Description | Python | Java | C++ |
---|
Challenge | Description | Python | Java | C++ |
---|---|---|---|---|
Bubble Sort (Arrays) | Challenge | Solution |
Challenge | Description | Python | Java | C++ |
---|
Challenge | Description | Python | Java | C++ |
---|---|---|---|---|
Check if BST | Challenge | Solution | Solution |
https://www.hackerrank.com/challenges/
Challenge | Description | Python | Java | C++ |
---|---|---|---|---|
Tries:Contacts | Challenge | Solution | Solution |
http://linkedin.com/in/ecedavis
Code reviews and comments, even new challenges are very welcomed.