Skip to content

rutgerklamer/ProgrammingChallenges

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Programming Challenges

This page is for small little programming challenges I think don't deserve a seperate GitHub page so I've made this repository to store them in one collection.

I've mainly used rosetta code for the challenges but I didn't always follow the specifications since I thought they were stupid or unnecessary. For other challenges I've used project euler and other miscellaneous websites.

I started this repository using only C++ but that got boring quite quickly, So I've decided to add more languages to the list (More to come)

Some of those challenges aren't written very well, So don't use this to study. But I think they are fine for inspiration.

All challenges are public domain.

Here is a list of Project Euler challenges:

Project euler problem # Project euler challenge Language time
1 Multiples of 3 and 5 C++ 0.0s
2 Even fibonacci sequence C++ 0.0s
3 Largest prime factor C++ 0.067s
4 Largest palindromic number C++ 0.026s
5 Smallest Multiple C++ 0.808s
6 Sum Of Squares C++ 0.0s
7 10001st Prime C++ 0.017s
8 Largest product in a series C++ 0.0s
9 Special Pythagorean triplet C++ 0.001s
10 Summation of primes C++ 0.931s
11 Largest product in a grid C++ 0.001s
12 Highly divisible triangular number C++ 2.107s
13 Large sum C++ 0.0s
14 Longest Collats sequence C++ 0.848s
15 Lattice paths C++ 0.0s
16 Power digit sum C++ 0.0s
17 Number letter counts C++ 0.014
18 Maximum path sum I C++ 0.001s
19 Counting Sundays C++ 0.0s
20 Factorial digit sum C++ 0.0s
21 Amicable numbers C++ 0.729s
22 Names scores C++ 0.147s
23 Non - abundant sums C++ 0.912s
24 Lexicographic permutations C++ 1.031s
25 1000 - digit Fibonacci number C++ 2.508s
28 Number spiral diagonals C++ 0.22s
30 Digit fifth powers C++ 0.144s
31 Coin sums C++ 0.0s
36 Double-base palindromes C++ 32.613s
48 Self powers C++ 421.605
67 Maximum path sum II C++ 0.005s
106 Pandigital fibonacci ends C++ 9521.58s
206 Concealed Square C++ 0.008s

Here is a list of rosetta code challenges:

Rosetta code challenge C++ Javascript Python Brainfuck
99 Bottles of Beer
Fibonacci Sequence
ROT13 Encoder
Palindrome Checker
Fizz Buzz
Pig Latin
Pangram Checker
Magic Square Odd
N'th
Palindrome Number
Monty Hall Problem
Bulls and Cows
Run-length encoding
Population Count
Old lady who swallowed a fly
Comma Quibbling
Binary Digits
Bit Flipping Game
Thue_Morse
Markov chain
Palindromic Number Checker in base2 and base3
Bubblesort
Bogosort
Password Generator
Middle Three Digits
Penneys Game
Random Number Distribution
Reverse String
Spiral matrix

About

Rosetta code and Project Euler solutions

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published