Skip to content

This repository contains solution to all the LeetCode questions I've solved! Daily grind πŸƒ (Updating)

Notifications You must be signed in to change notification settings

mianawais99/LeetCode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

44 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

LeetCode Solutions C#

This repository contains answers to all the Leetcode questions I've solved!

Here's is my Profile Link:πŸ”— Mian Awais

I started preparing for interviews and created a repository to keep all of my optimized solutions for practice questions. I would often revisit the questions and refer to online videos to come up with better solutions. As I plan to update this repository almost every day, I believe it would be beneficial to make it public.

This branch contains the solutions in C#, and you can easily search for a specific question by pressing Ctrl + F in your browser and typing the exact name or number of the question. If I have solved that particular question, you will find it in the table below. Just click on the "C#" link in the "Source Code" column to access the solution.

If you want solutions in JAVA, you can check the other branch named JAVA. If I have solved that particular question in JAVA, you will find it in that branch.

I hope this repository will help you in your interview preparations! All the best for your preps and keep working hard 😊

# Title Problem Category Solution
No. Problems Difficulty Source Code
---- ---------- ------------ -------------
001 Two Sum Easy C#
007 Reverse Integer Medium C#
021 Merge Two Sorted Lists Easy Java
075 Sort Colors Medium C#
102 Binary Tree Level Order Traversal Medium Java
121 Best Time to Buy and Sell Stock Easy Java
142 Linked List Cycle II Medium Java
205 Isomorphic Strings Easy Java
206 Reverse Linked List Easy Java
344 Reverse String Easy C#
392 Is Subsequence Easy Java
409 Longest Palindrome Easy C#
523 Continuous Subarray Sum Medium C#
589 N-ary Tree Preorder Traversal Easy Java
648 Replace Words Medium C#
724 Find Pivot Index Easy C#
846 Hand of Straights Medium C#
876 Middle of the Linked List Easy Java
974 Subarray Sums Divisible by K Medium C#
1051 Height Checker Easy C#
1122 Relative Sort Array Easy C#
1480 Running Sum of 1d Array Easy Java
2486 Append Characters to String to Make Subsequence Medium C#