Welcome, Zhia Chong subscribers

Thanks for checking out Daily Coding Problem!

Ace your programming interview

Get exceptionally good at coding interviews by solving one problem every day.

No spam, ever. Easy unsubscribe.

How It Works
1We Write Problems

Get tailored problems from our experts who have interviewed at top companies.

2You Solve Them

Solve problems every day before you get the solutions the next morning.

3We Send The Solution PREMIUM

Verify your work and get better at problem solving until you land the job!

Sample Programming Interview Question
Asked by

There's a staircase with N steps, and you can climb 1 or 2 steps at a time. Given N, write a function that returns the number of unique ways you can climb the staircase. The order of the steps matters.

For example, if N is 4, then there are 5 unique ways:

  • 1, 1, 1, 1
  • 2, 1, 1
  • 1, 2, 1
  • 1, 1, 2
  • 2, 2

What if, instead of being able to climb 1 or 2 steps at a time, you could climb any number from a set of positive integers X? For example, if X = {1, 3, 5}, you could climb 1, 3, or 5 steps at a time. Generalize your function to take in X.

Success Stories
Eric +

I landed my job at Google after regularly doing problems from the mailing list. I’ve taken algorithms courses and read through the Cracking the Coding Interview but I was never able to pass the interview until now!

Shubham +

I got an offer from Microsoft thanks to you guys! For the record, Daily Coding Problem is an awesome way to practice for coding interviews. Getting a question every day in my inbox was the motivation I needed to practice. Thanks again!

Eileen +

I got offers for internships at Amazon and Apple! Thanks for the great resource — I loved the questions!

Claudio +

I got the Airbnb offer! I loved the questions and they were extremely helpful for a great price!

Evan +

I'm thrilled to tell you that I had my on-site interview with Uber and I got an offer! This is precisely the offer I wanted, and it wouldn't have been possible without DCP!

Phil +

Daily Coding Problem is amazing. It was a huge help to me while preparing for interviews, and thanks to it, I got an offer at Dropbox.

Calvin +

I got an offer at Facebook thanks to Daily Coding Problem! I recommend it to all my friends looking for a job.

Owen +

I was able to successfully land a job at Google. I used the service for ~100 problems and it definitely made me a better developer and problem solver in general!

Donnie +

After being in the mailing list for just 3 months I was able to receive a Software Engineer offer at Amazon. I highly recommend it to people who want to put in just a few months of extra effort to pass hard interviews.