Live data from Hacker News

A list of practical projects that anyone can solve in any programming language

github.com

1–10 of 59 posts

Re: A list of practical projects that anyone can solve in any programming language

#4
Thanks for sharing. I'm putting together materials for a course on data structures that I'm teaching this fall.

I have the theory part covered, but I'm always on the lookout for things that could make for decent practical assignment problems - reasonably attainable in scope, but without being too contrived.

Re: A list of practical projects that anyone can solve in any programming language

#7
> Prime Factorization - Have the user enter a number and find all Prime Factors (if there are any) and display them.

not to sound pedantic, but for any integer greater than 1 there is always at least one prime factor: https://en.wikipedia.org/wiki/Fundamental_theorem_of_arithme...

edit: for prime numbers, it is the number itself

Re: A list of practical projects that anyone can solve in any programming language

#8
post #7

> Prime Factorization - Have the user enter a number and find all Prime Factors (if there are any) and display them. not to sound pedantic, but for any integer greater than 1 there is always at least one prime factor: https://en.wikipedia.org/wiki/Fundamental_theorem_of_arithme... edit: for prime numbers, it is the number itself

Not to sound pedantic, but a number is only its own prime factor if it itself is prime!

(Your point stands, though: every integer > 1 has at least one prime factor.)

Post reply on HN