---
title: 'Introduction'
description: 'General templates for tackling LeetCode problems'
hide_table_of_contents: true
sidebar_position: 1
keywords:
  - leetcode
  - templates
---

Here you can find the general templates for tackling LeetCode problems. These templates are pre-written code or snippets. The goal of using these templates is to save time by providing a starting point for the solution, rather than having to start from scratch. Before using the templates, you should have deep understanding on the logic.