Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

While searching for jobs online I noticed that most PHP web developer jobs ask you to know about algorithms and data structures.While I don't know PHP yet I have started to learn it in order to obtain a job in that field.

While I have seen some similar questions on the forum I don't feel like the answers satisfied my needs.

I already have some knowledge of the quicksort algorithm and how to use a stack from when I was working in Java and Javascript , but I am guessing it is not enough.What I would like is a list of the most common used algorithms in web development.

share|improve this question

There aren't necessarily a set of algorithms that are specific to web development. More like algorithms common to all programming. I think the job postings that want you to have a knowledge of algorithms are just looking for someone with a solid background in Computer Science or the theoretical side of things.

You can think of your quest to obtain one of these jobs as two separate goals:

  1. Become knowledgeable about commonly used algorithms.
  2. Become proficient in one or two web programming languages.

For the first goal, I would recommend learning the basics of at least the following set of algorithms:

  • Sorting algorithms
  • Searching algorithms
  • Simple recursive algorithms
  • Backtracking algorithms
  • Divide and conquer algorithms
  • Dynamic programming algorithms
  • Greedy algorithms
  • Brute force algorithms

For the second goal, I would recommend picking two web programming languages, say PHP and ASP.NET, and finding some tutorials that help you learn the basics of these. Then, try to build something useful using these and before you know it, you'll be ready to make a contribution to a software development team!

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.