10 Replies - 1225 Views - Last Post: 03 September 2010 - 08:53 PM Rate Topic: -----

#1 harmy01  Icon User is offline

  • D.I.C Head
  • member icon

Reputation: 15
  • View blog
  • Posts: 179
  • Joined: 15-June 10

algorithm and Data structure

Posted 02 September 2010 - 07:34 PM

Hey guys

I've been struggling with algorithms and data structure. although i have finally completed my labs, i'm keen to try more problems relating to algorithm and data structure. But failed to find any, tried Google, but it came up with advanced problems. i was hoping if you guys had any intermediate algorithms & data structure problem, what ever you guys have done to enhance your experience in this case. i would love to try :)

Thanks guys.

Is This A Good Question/Topic? 0
  • +

Replies To: algorithm and Data structure

#2 b0ng01  Icon User is offline

  • D.I.C Head
  • member icon

Reputation: 38
  • View blog
  • Posts: 169
  • Joined: 16-July 10

Re: algorithm and Data structure

Posted 02 September 2010 - 07:45 PM

http://www.brpreiss..../html/book.html for java algorithms
http://www.dreaminco...esource-thread/ for data structures

You might want to check out "Introduction to Algorithms" by Thomas H. Cormen. It uses psuedo-code so it might be better for examples if you are trying to learn in a non-java centric way.

This post has been edited by b0ng01: 02 September 2010 - 07:47 PM

Was This Post Helpful? 1
  • +
  • -

#3 Dogstopper  Icon User is offline

  • The Ninjaducky
  • member icon



Reputation: 2872
  • View blog
  • Posts: 11,031
  • Joined: 15-July 08

Re: algorithm and Data structure

Posted 02 September 2010 - 07:50 PM

As for challenges, you should try Project Euler. It's really good for learning problem solving with math.

Here's a good list:
http://www.dreaminco...and-challenges/
Was This Post Helpful? 1
  • +
  • -

#4 harmy01  Icon User is offline

  • D.I.C Head
  • member icon

Reputation: 15
  • View blog
  • Posts: 179
  • Joined: 15-June 10

Re: algorithm and Data structure

Posted 02 September 2010 - 10:26 PM

Hey Thank you both, i would love to have more challenges, EG the lab work u guys do in your first year java course. Would be awesome

Thanks again
Was This Post Helpful? 0
  • +
  • -

#5 Dogstopper  Icon User is offline

  • The Ninjaducky
  • member icon



Reputation: 2872
  • View blog
  • Posts: 11,031
  • Joined: 15-July 08

Re: algorithm and Data structure

Posted 03 September 2010 - 04:05 AM

View Postharmy01, on 03 September 2010 - 12:26 AM, said:

Hey Thank you both, i would love to have more challenges, EG the lab work u guys do in your first year java course. Would be awesome

Thanks again


I've never taken a Java course. I'm still in high school...never had lab before...
Was This Post Helpful? 0
  • +
  • -

#6 m-e-g-a-z  Icon User is offline

  • Winning
  • member icon


Reputation: 496
  • View blog
  • Posts: 1,453
  • Joined: 19-October 09

Re: algorithm and Data structure

Posted 03 September 2010 - 04:11 AM

The reason why I posted this. :)
Was This Post Helpful? 1
  • +
  • -

#7 macosxnerd101  Icon User is online

  • Self-Trained Economist
  • member icon




Reputation: 10563
  • View blog
  • Posts: 39,087
  • Joined: 27-December 08

Re: algorithm and Data structure

Posted 03 September 2010 - 07:17 AM

View PostDogstopper, on 03 September 2010 - 07:05 AM, said:

View Postharmy01, on 03 September 2010 - 12:26 AM, said:

Hey Thank you both, i would love to have more challenges, EG the lab work u guys do in your first year java course. Would be awesome

Thanks again


I've never taken a Java course. I'm still in high school...never had lab before...

You don't consider AP Computer Science a Java course? Or did you self-study for that one?

@harmy01: Try designing your own data structures. Those are excellent exercises. For Graphs, you can also work on Dijkstra's algorithm. For Trees, implement searching routines with recursion. Stacks are well designed for Postfix to infix to prefix type problems.
Was This Post Helpful? 0
  • +
  • -

#8 Dogstopper  Icon User is offline

  • The Ninjaducky
  • member icon



Reputation: 2872
  • View blog
  • Posts: 11,031
  • Joined: 15-July 08

Re: algorithm and Data structure

Posted 03 September 2010 - 12:19 PM

View Postmacosxnerd101, on 03 September 2010 - 09:17 AM, said:

You don't consider AP Computer Science a Java course? Or did you self-study for that one?


No! Our teacher handed us a book and said "do"...
Was This Post Helpful? 0
  • +
  • -

#9 javadork  Icon User is offline

  • D.I.C Head
  • member icon

Reputation: 32
  • View blog
  • Posts: 135
  • Joined: 21-August 10

Re: algorithm and Data structure

Posted 03 September 2010 - 12:28 PM

Did the teacher do anything else besides say "do"? For an AP course? I can't believe our education system has come down to this. *sigh*
Was This Post Helpful? 0
  • +
  • -

#10 macosxnerd101  Icon User is online

  • Self-Trained Economist
  • member icon




Reputation: 10563
  • View blog
  • Posts: 39,087
  • Joined: 27-December 08

Re: algorithm and Data structure

Posted 03 September 2010 - 12:32 PM

This is pretty standard for high school programming classes, and a lot of introductory college programming classes. The teachers that get thrown into them at the high school level are generally unqualified. A lot of the time, the Calculus teacher will be told to take a summer workshop and teach AP Java the next year. And a lot of the graders don't know much beyond basic OOP for the scope of the class, which is why I was frustrated by the discouragement of using standard data structures.

I've talked about the AP CS class in some of my blog entries if you're interested in checking it out.

</offtopic>
Was This Post Helpful? 0
  • +
  • -

#11 b0ng01  Icon User is offline

  • D.I.C Head
  • member icon

Reputation: 38
  • View blog
  • Posts: 169
  • Joined: 16-July 10

Re: algorithm and Data structure

Posted 03 September 2010 - 08:53 PM

No joke, when I took AP CS in H.S. we didn't even have computers. But, macosx is correct, my H.S. teacher cared very little about the topic and I am positive that my pinky toe knows more about programming than they do.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1