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 them before. These problems don't require any special knowledge beyond knowing how to code loops and if-conditionals in the programming language of your choice. Think of these 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:

Hint
Solution

58. Length of Last Word

Another easy question to practice on. Can you solve it without 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: