hoyj / ProjectEuler

Personal Answers to Project Euler @ Kr.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Project Euler

author: hoyj
description: This repo is designed to post my answers to the questions on Project Euler@Kr

HOW-TO

python

python FILENAME.py

c

clang FILENAME.c -o FILENAME
./FILENAME

MyAnswers to Questions
Question 1
Question 2 / TIP / TIP2
Question 3
Question 4 / REVIEW
Question 5 / TIP-LCM
Question 6 / Sum Of Squares
Question 7
Question 8
Question 9 - Good practice for approximating
Question 10 - Extrememly good for sum of primes
Question 11 / OOP Version
Question 12 - Prime Factorization. Factors come in pairs.
Question 13
Question 14 - Memoization
Question 15 - Used Memoization / Mathematical implementation
Question 16
Question 17 - Currently provides wrong answer 21224. The correct answer should be 21124.
Question 18 - C,Revised C / Understand how structs and arrays are passed (reference or variable) into functions
Question 19 - C,python / mod, calendar lib
Question 20 - C / use of arrays to store big numbers.
Question 21 - C
Question 22 - C,python
Question 23 - C,python / memoization using bit arrays.
Question 24 - C / recursion
Question 25 - C,python
Question 26 - python / recurring digits
Question 27 - C / memoization, trial division
Question 28 - C
Question 29 - C,python / mathematical approach in C
Question 30 - python / was quite difficult...
Question 31 - SKIP until DP study
Question 32 - C,python
Question 33 - python
Question 34 - python / Think more about range of the answer
Question 35 - C / Sieve of Eratosthenes
Question 36 - C, python
Question 37 - python
Question 38 - python
Question 39 - python
Question 40 - md / Mathematical calculation
Question 41 - python / refer: https://blog.dreamshire.com/project-euler-41-solution/
Question 42 - python
Question 43 - no code. divisibility analysis
Question 44 - python
Question 45 - python
Question 46 - python
Question 47 - python
Question 48 - python
Question 49 - python
Question 50 - python / still need optimizing

About

Personal Answers to Project Euler @ Kr.


Languages

Language:Python 62.1%Language:C 37.9%