Skip to content

Latest commit

History

111 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

LeetCode_Solutions

Solutions of LeetCode interview questions

#TitleSolutionDifficultyAppeared in Interviews of
1Two_Sum Python
C++
MediumAirbnb , Facebook , Amazon , Microsoft , Apple ,
Yahoo , Dropbox , Bloomberg , Yelp , Adobe , LinkedIn
153Sum Python MediumFacebook , Google , Amazon , Microsoft , Boomberg , Adobe
24Swap Nodes in PairsC++
Python
MediumBloomberg , Microsoft , Uber
94Binary Tree Inorder TraversalC++MediumMicrosoft
206Reverse Linked ListC++
Python
EasyAmazon , Apple , Adobe , Bolomberg , Facebook , Microsoft, Snapchat , Twitter , Uber , Yahoo , Yelp , Zenefit
217Contains Duplicate Python
C++
EasyPalantir , Airbnb , Yahoo
219Contains Duplicate II Python
C++
EasyPalantir , Airbnb , Yahoo
237Delete Node in a Linked ListC++EasyApple , Adobe , Microsoft
258Add DigitsC++EasyMicrosoft , Adobe
344Reverse StringC++
Python
EasyNot Appeared yet
724Find Pivot IndexC++PythonEasyNot Appeared yet
#Important codes you should knowSolutionDescription
1How to create Linked list nodesC++
Python
Creating three nodes and printing them
2Add a Node at the startPythonCreating nodes and adding node at the start
3How to delete Linked list nodes with the keyC++With O(n) and O(1) runtime functions
4Bubble Sort with RecursionC++With O(n)
5Merge Sort with RecursionC++O(n log n)
6Stack BasicsC++Learn about LIFO