Skip to content

This respository consist of my leetcode algorithm problem solutions.

Notifications You must be signed in to change notification settings

kaanoz1/leetcode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 

Repository files navigation

LeetCode Solutions Collection

Welcome to my LeetCode Solutions repository! This collection contains solutions to various LeetCode problems that I have solved. The problems are organized from Easy to Hard to showcase my progress and enhance my problem-solving skills.

Repository Structure

Each problem is contained within the src directory. Inside this directory, you will find the solution files and corresponding result images.

Features

  • Language Variety on Solutions: Solutions are implemented in a variety of programming languages to expand my coding expertise and knowledge. But mostly, I try to improve myself on C, C++ and Python3.

  • Direct Links: Each problem includes a direct link to its corresponding LeetCode problem page for easy reference to users.

Notes : Problems are listed in order of increasing difficulty, starting from Easy and progressing to Hard. Abbreviation B stands for "probably(?) bugged result".

Table of Contents

Easy

Below is a list of Easy level problems, including the problem name (linked to the LeetCode problem), a link to my solution, and a link to the result image.

# Problem Name Solution Result
1 Two Sum Solution Result
2 Palindrome Number Solution Result
3 Roman To Integer Solution Result
4 Longest Common Prefix Solution Result
5 Valid Parentheses Solution Result
6 Merge Two Sorted Lists Solution Result
7 Find The Index of the First Occurrence in a String Solution Result B
8 Search Insert Position Solution Result B
9 Length of Last Word Solution Result
10 Plus One Solution Result
11 Add Binary Solution Result
12 Sqrt(x) Solution Result
13 Climbing Stairs Solution Result
14 Remove Duplicates from Sorted List Solution Result
15 Merge Sorted Array Solution Result B
16 Same Tree Solution Result B
17 Symmetric Tree Solution Result
18 Maximum Depth of Binary Tree Solution Result
19 Convert Sorted Array to Binary Search Tree Solution Result
20 Balanced Binary Tree Solution Result B
21 Minimum Depth of Binary Tree Solution Result
22 Path Sum Solution Result
23 Pascal's Triangle Solution Result B
24 Pascal's Triangle II Solution Result B
25 Best Time to Buy and Sell Stock Solution Result
26 Valid Palindrome Solution Result
27 Single Number Solution Result
28 Linked List Cycle Solution Result
29 Binary Tree Preorder Traversal Solution Result
30 Binary Tree Postorder Traversal Solution Result B
31 Intersection of Two Linked Lists Solution Result B
32 Excel Sheet Column Title Solution Result B
33 Majority Element Solution Result
34 Excel Sheet Column Number Solution Result
35 Reverse Bits Solution Result B
36 Number of 1 Bits Solution Result B
37 Happy Number Solution Result
38 Remove Linked List Elements Solution Result B
39 Isomorphic Strings Solution Result
40 Reverse Linked List Solution Result
41 Contains Duplicate Solution Result
42 Contains Duplicate II Solution Result
43 Count Complete Tree Nodes Solution Result
45 Implement Stack using Queues Solution Result
46 Invert Binary Tree Solution Result
47 Summary Ranges Solution Result
48 Power of Two Solution Result

Medium

# Problem Name Solution Result
44 Remove Nth Node From End of List Solution Result

Hard

Not solved any problems yet.

About

This respository consist of my leetcode algorithm problem solutions.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published