/HackerRank

Solutions to various HackerRank and ProjectEuler problems.

Primary LanguageJava


HackerRank and ProjectEuler solutions
by Jerry Balderas

Project Euler

Challenge Points Solution
Project Euler #1: Multiples of 3 and 5 100 Solution
Project Euler #2: Even Fibonacci numbers 100 Solution
Project Euler #3: Largest prime factor 100 Solution
Project Euler #4: Largest palindrome product 100 Solution
Project Euler #5: Smallest multiple 100 Solution
Project Euler #6: Sum square difference 100 Solution
Project Euler #7: 10001st prime 100 Solution
Project Euler #8: Largest product in a series 100 Solution
Project Euler #9: Special Pythagorean triplet 100 Solution
Project Euler #10: Summation of primes 100 Solution
Project Euler #11: Largest product in a grid 100 Solution
Project Euler #12: Highly divisible triangular number 100 Solution
Project Euler #13: Large sum 100 Solution
Project Euler #14: Longest Collatz sequence 100 Solution
Project Euler #15: Lattice paths 100 Solution
Project Euler #16: Power digit sum 100 Solution
Project Euler #17: Number to Words 100 Solution
Project Euler #18: Maximum path sum I 100 Solution
Project Euler #19: Counting Sundays 100 Solution
Project Euler #20: Factorial digit sum 100 Solution
Project Euler #21: Amicable numbers 100 Solution
Project Euler #22: Names scores 100 Solution
Project Euler #23: Non-abundant sums 100 Solution

Algorithms

SubDomain Challenge Points Solution
Dynamic Programming The Coin Change Problem 60 Solution.java
Dynamic Programming Equal 30 Solution.java
Graph Theory Roads and Libraries 30 Solution.java
Graph Theory EvenTree 50 Solution.java
Greedy Fighting Pits 80 Solution.java
Greedy Sherlock and the Beast 30 Solution.java

Data Structures

SubDomain Challenge Points Solution
Arrays Array Manipulation 60 Solution.java

Ten Days of Statistics

Challenge Points Solution
Day 0: Mean, Median, and Mode 30 Solution
Day 0: Weighted Mean 30 Solution
Day 1: Standard Deviation 30 Solution
Day 1: Quartiles 30 Solution
Day 1: Interquartile Range 30 Solution
Day 2: Basic Probability 10 Solution
Day 2: More Dice 10 Solution
Day 2: Compound Event Probability 10 Solution
Day 3: Conditional Probability 10 Solution
Day 3: Cards of the Same Suit 10 Solution
Day 3: Drawing Marbles 10 Solution
Day 4: Binomial Distribution I 30 Solution
Day 4: Binomial Distribution II 30 Solution
Day 4: Geometric Distribution I 30 Solution
Day 4: Geometric Distribution II 30 Solution