Simple problems

Welcome to finally starting to solve coding problems! This is a very important part of the interviews, so let's practice.

In this section, I introduce some very simple Leetcode problems that are perfect for somebody who didn't solve any coding interview questions before. These problems don't require any special knowledge beyond knowing how to code loops and if-else conditionals in the programming language of your choice. Think of this as a way to start solving coding problems and to start learning Leetcode platform.

412. Fizz Buzz

Fizz Buzz is a famous simple computer program, and here is a Leetcode version of it. Try to solve this problem yourself first, and then check the solution below. If you are stuck, you can also try using the hint!

Hint
Solution

58. Length of Last Word

Another easy problem to practice on. Can you solve it without using any library functions, just with a simple for loop?

Hint
Solution

More simple problems

Here are some more good simple problems for you to practice on: