LeetCode problems for Beginners
Tags: leetcode, algorithms
Published: 2020-03-19 15:26:26

---
title: LeetCode problems for Beginners
published: true
date: 2020-03-14 15:33:00 UTC
tags: LeetCode,Algorithms
canonical_url: https://coderscat.com/leetcode-problems-for-beginners
---

When you begin to practice algorithms and data structures with LeetCode problems.

Remember to build your confidence and find the [fun of algorihtms](https://coderscat.com/lets-leetcode-with-fun) in your first step.

You should start with easy problems.

This is a list of categories with classic and easy problems for you.

## Array

[Remove Element](https://leetcode.com/problems/remove-element/)

[Remove Duplicates from Sorted Array](https://leetcode.com/problems/remove-duplicates-from-sorted-array/description/)

[Remove Duplicates from Sorted Array II](https://leetcode.com/problems/remove-duplicates-from-sorted-array-ii/description/)

[Find the Celebrity](https://leetcode.com/problems/find-the-celebrity/description/)

[Rotate Array](https://leetcode.com/problems/rotate-array/description/)

## String

[Implement strStr()](https://leetcode.com/problems/implement-strstr/description/)

[Longest Common Prefix](https://leetcode.com/problems/longest-common-prefix/description/)

[Length of Last Word](https://leetcode.com/problems/length-of-last-word/description/)

[First Unique Character in a String](https://leetcode.com/problems/first-unique-character-in-a-string/description/)

[Ransom Note](https://leetcode.com/problems/ransom-note/description/)

[Reverse String](https://leetcode.com/problems/reverse-string/description/)

[Reverse Words in a String](https://leetcode.com/problems/reverse-words-in-a-string/description/)

## Tree

[Binary Tree Preorder Traversal](https://leetcode.com/problems/binary-tree-preorder-traversal/description/)

[Binary Tree Inorder Traversal](https://leetcode.com/problems/binary-tree-inorder-traversal/description/)

[Binary Tree Postorder Traversal](https://leetcode.com/problems/binary-tree-postorder-traversal/description/)

[Binary Tree Level Order Traversal](https://leetcode.com/problems/binary-tree-level-order-traversal/description/)

[Same Tree](https://leetcode.com/problems/same-tree/description/)

[Sum Root to Leaf Numbers](https://leetcode.com/problems/sum-root-to-leaf-numbers/description/)

## LinkedList

[Reverse Linked List](https://leetcode.com/problems/reverse-linked-list/description/)

[Linked List Cycle](https://leetcode.com/problems/linked-list-cycle/description/)

[Add Two Numbers](https://leetcode.com/problems/add-two-numbers/description/)

[Intersection of Two Linked Lists](https://leetcode.com/problems/intersection-of-two-linked-lists/description/)

## DFS & BFS

[Number of Islands](https://leetcode.com/problems/number-of-islands/)

[Walls and Gates](https://leetcode.com/problems/walls-and-gates/description/)

[Surrounded Regions](https://leetcode.com/problems/surrounded-regions/description/)

## Backtracking

[Subsets](https://leetcode.com/problems/subsets/description/)

[Permutations](https://leetcode.com/problems/permutations/description/)

[Combination Sum](https://leetcode.com/problems/combination-sum/description/)

## Other references

[How To Learn Data Structures And Algorithms](https://coderscat.com/how-to-learn-data-structures-and-algorithms) is a roadmap for the newbie.

[Preparing for an interview? Check out this!](https://amzn.to/2BeAeB9)

The post [LeetCode problems for Beginners](https://coderscat.com/leetcode-problems-for-beginners) appeared first on [CodersCat](https://coderscat.com).