Interesting programming problems

Click For Summary

Discussion Overview

The discussion centers around finding interesting and challenging programming problems to solve using Java. Participants share resources and suggestions for books, websites, and project ideas that could help in developing algorithmic thinking and problem-solving skills.

Discussion Character

  • Exploratory
  • Technical explanation
  • Homework-related

Main Points Raised

  • One participant expresses a desire for more challenging programming problems beyond those found in textbooks, seeking resources that include algorithm descriptions.
  • Another participant suggests the website Project Euler as a source of challenging problems.
  • A suggestion is made to explore the book "Data Structures and Problem Solving Using Java" by Weiss, which may contain more complex exercises, including the idea of creating an arbitrary precision calculator with various mathematical functions.
  • A link to a resource for purchasing the mentioned book at a lower price is provided, along with advice to code independently rather than relying on existing solutions.
  • Another participant recommends TopCoder for tutorials and challenging projects, along with a link to a list of project ideas on a forum.

Areas of Agreement / Disagreement

Participants generally agree on the need for more challenging programming problems and share various resources, but no consensus is reached on a single best source or approach.

Contextual Notes

Some suggestions may depend on the participant's current skill level or specific interests in programming, and the effectiveness of the resources mentioned may vary based on individual learning preferences.

Aziza
Messages
189
Reaction score
1
I am taking a course on Java and i am looking for some interesting general programming problems i could solve with java. I've gone through two java books, but most of the exercises at the ends of the chapters are very straightforward, and I am looking for something more challenging. My professor always asks much more challenging questions in class and asks us to think of an algorithm to solve his problem and even though I've done all of the textbook exercises, i find it hard to think of efficient algorithms on the spot to these harder problems, so i would like some practice with that. does anyone know any good books or websites with collections of such problems and maybe also with descriptions of the algorithms that are usually used to solve them?
 
Technology news on Phys.org
"Data Structures and Problem Solving Using Java" by Weiss is probably meant as a second year text and has what might be some more challenging exercises.

One of those is a simple calculator. Perhaps you could extend that to make it an arbitrary precision calculator and incorporate some of the functions like greatest common denominator, least common multiple, Euler phi function, etc, the sort of functions that people experimenting with numbers and number theory might really like to have in a calculator. And you could make it an applet so it would download automatically and run using your computer's resources.

If you did a good job of coding that so it would be easy for others to understand and add more functions then this might be a resource that people who are interested in that sort of calculation would really value.

You can download code from the author's website, but since you are learning I would suggest that you perhaps not just use his code, but learn how to do it yourself.

The newest editions of the book are as expensive as any textbook, but the old edition I have can now be purchased for $4 delivered!
http://www.bestwebbuys.com/Data-Str...g-Using-Java-ISBN-9780201549911?isrc=b-search

Once you get it working you might ask people over in the math/number theory area if people would try it out and suggest more functions to put into it.
 

Similar threads

Replies
86
Views
3K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 7 ·
Replies
7
Views
1K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 17 ·
Replies
17
Views
2K
  • · Replies 8 ·
Replies
8
Views
4K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 11 ·
Replies
11
Views
3K