Jump to content

Improving your algorithmics?

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
19 replies to this topic

#1
Hurricane

Hurricane

    Newbie

  • Members
  • PipPip
  • 20 posts
Well, my algorithmics isn't really good. It is really difficult for me to solve the easiest problems, and I just wanted to know, how can I improve my algorithmics? I can't find a lot of exercises, so it's really hard for me to improve it. Is there a way to improve it?
Please help me.

Thanks in advance for your help! =D

#2
TcM

TcM

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 11,147 posts
You have to improve your thinking, try to play brain games, like sudoku or such games... try solving complicated algebraic problems.

I'm not much of a mathematician myself... so I can't help you much, I'm sure WingedPanther can.. wait for his reply :D

#3
Hurricane

Hurricane

    Newbie

  • Members
  • PipPip
  • 20 posts
I do study a lot of math and play sudoku, but it doesn't seem to help... =\
Who's WingedPanther? =D

#4
chili5

chili5

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 7,247 posts
Try some harder math :D Crosswords maybe? Or look for some brain game web sites. :)

Look up sample questions from the Hypatia Contest, or some other math contest. :) You could also look up samples of the Canadian computing competition.

:D

#5
gaylo565

gaylo565

    Programming Professional

  • Members
  • PipPipPipPipPip
  • 268 posts
I would have to agree with Chili and suggest math problems or any even just logic problems. I graduated with my bs in mathematics and algorithms are my strong point as far as programming goes. I have a bad memory for syntax issues but the logic is not so bad. It is just a matter of making your brain work in that logic realm:) One of programmers main holdups is there inability to start over if their initial logic design isn't working. Sometimes it is important to restart the logic mapping from the beginning rather than getting stuck on one way to do something and not being able to quite work it out.
With all this said the best practice is obviously coding new projects which require some algorithm's. Games are good practice for this.

#6
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
The biggest key to improving your problem-solving skills is.... to solve problems. Unfortunately, a lot of math does NOT help you with this (until you get to advanced college courses, anyway). Solving logic problems (Dell publishing produces lots of them) will help you learn how to analyze problems, but the best resource is probably some of the programming challenge websites out there. Find an easy problem and solve it. If you get stuck, look at some of the solutions and try to understand them.

Additionally, a lot of people approach solving problems incorrectly: they try to write code first. This rarely works for a meaningful problem, because you don't have any idea what you want to accomplish. Start with something simple: can you solve the problem by hand? Record how you accomplish your solution.

If you're looking for a book, I recommend How To Solve It as a fantastic resource.
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

#7
Hurricane

Hurricane

    Newbie

  • Members
  • PipPip
  • 20 posts
Thank you all for your blessed help!
I'm going to use all the tips you've gave me so far to become a successful problem-solver. =]

#8
chili5

chili5

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 7,247 posts
I found a great logic puzzle web site awhile ago, which helps my thinking processes.

The only math that would help you is some really tough math, I think. A lot of simple math doesn't help at all. Take a look at:

CEMC - Pascal Contest
CEMC - Fryer Contest
CEMC - Cayley Contest
CEMC - Galois Contest
CEMC - Fermat Contest
CEMC - Hypatia Contest
CEMC - Euclid Contest
CEMC - Canadian Open Mathematics Challenge
Canadian Computing Contest

For tons of challenging math problems, and computer problems. These should be quite helpful. Note: The math contests are high school contests, so they start off simple and get more challenging. :)

#9
Hurricane

Hurricane

    Newbie

  • Members
  • PipPip
  • 20 posts
Wow, we don't learn those things in Israel, and this is so awesome! =D
There are solutions too so I can learn so much from it!

Thank you!! =D

#10
chili5

chili5

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 7,247 posts
Your quite welcome :D Enjoy :D

#11
MeTh0Dz

MeTh0Dz

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 2,119 posts
Project Euler

It even has some nub problems.

#12
Hurricane

Hurricane

    Newbie

  • Members
  • PipPip
  • 20 posts
Thank you! :)
This site is really good as well! =D