Skip to content

nithin999989/LeetCodeSolutions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

Data Structures and Algorithms are very important for Interviews. Most of the top companies prefer to ask question related to DSA. Leetcode is a great platform to practice newer problems of DSA. It has many features like sorting questions based on difficulty level, different companies, etc. Practicing Questions are very important to get a strong hold on DSA. But what will happen if you stuck in the middle of a question?! That's where our solutions come to rescue :) We have tried to curate solutions for majority questions so that you could ace your interview rounds! ** KEEP PRACTICING, KEEP LEARNING!! **

Solutions

Collection of LeetCode questions to ace the coding interview! - Created using LeetHub

QNo Name Link
1 Two Sum https://leetcode.com/problems/two-sum/
4 Median of Two Sorted Arrays https://leetcode.com/problems/median-of-two-sorted-arrays/
11 container-with-most-water https://leetcode.com/problems/container-with-most-water/
13 roman-to-integer https://leetcode.com/problems/roman-to-integer/
14 longest-common-prefix https://leetcode.com/problems/longest-common-prefix/
17 Letter Combinations https://leetcode.com/problems/letter-combinations-of-a-phone-number/
20 valid-parentheses https://leetcode.com/problems/valid-parentheses/
30 Substring with Concatenation of All Words https://leetcode.com/problems/substring-with-concatenation-of-all-words/
34 Find First and Last Position of Element in Sorted Array https://leetcode.com/problems/find-first-and-last-position-of-element-in-sorted-array/
35 35. Search Insert Position https://leetcode.com/problems/search-insert-position/
37 Sudoku Solver https://leetcode.com/problems/sudoku-solver/
41 First Missing Positive https://leetcode.com/problems/first-missing-positive/
42 Trapping Rain Water https://leetcode.com/problems/trapping-rain-water/
52 N-Queens II https://leetcode.com/problems/n-queens-ii/
58 Length of Last Word https://leetcode.com/problems/length-of-last-word/
81 Search in Rotated Sorted Array II https://leetcode.com/problems/search-in-rotated-sorted-array-ii/
95 Unique Binary Search Trees https://leetcode.com/problems/unique-binary-search-trees/
96 Unique Binary Search Trees https://leetcode.com/problems/unique-binary-search-trees-ii/
100 Same Tree https://leetcode.com/problems/same-tree/
101 Symmetric Tree https://leetcode.com/problems/symmetric-tree/
102 binary-tree-level-order-traversal https://leetcode.com/problems/binary-tree-level-order-traversal/
113 path-sum-ii https://leetcode.com/problems/path-sum-ii/
118 pascals-triangle https://leetcode.com/problems/pascals-triangle/
130 surrounded-regions https://leetcode.com/problems/surrounded-regions/
134 gas-station https://leetcode.com/problems/gas-station/
136 single-number https://leetcode.com/problems/psingle-number/
153 Find Minimum in Rotated Sorted Array https://leetcode.com/problems/find-minimum-in-rotated-sorted-array/
154 Find Minimum in Rotated Sorted Array II https://leetcode.com/problems/find-minimum-in-rotated-sorted-array-ii/
162 Find Peak Element https://leetcode.com/problems/find-peak-element/
167 Two Sum II - Input Array Is Sorted https://leetcode.com/problems/two-sum-ii-input-array-is-sorted/s
191 191. Number of 1 Bits
198 house-robber https://leetcode.com/problems/house-robber/
217 contains-duplicate https://leetcode.com/problems/contains-duplicate/
258 Add Digits https://leetcode.com/problems/add-digits/
278 First Bad Version https://leetcode.com/problems/first-bad-version/
852 Peak Index in a Mountain Array
1207 unique-number-of-occurrences https://leetcode.com/problems/unique-number-of-occurrences/
1295 find-num-with-even-digits https://leetcode.com/problems/find-num-with-even-digits/
1302 deepest-leaves-sum https://leetcode.com/problems/deepest-leaves-sum/
1672 richest-customer-wealth https://leetcode.com/problems/richest-customer-wealth/
2278 Percent of letter in a String https://leetcode.com/problems/percentage-of-letter-in-string/

This repository consists of all leetcode solutions keep contributing to this project

Leetcode Questions link:

1: Running Sum 1d Array- Leetcode(1480)

https://leetcode.com/problems/running-sum-of-1d-array/

2: Two Sum( Leetcode(1)

https://leetcode.com/problems/two-sum/

3: Find First and Last Position of Element in Sorted Array

https://leetcode.com/problems/find-first-and-last-position-of-element-in-sorted-array/

4: Median of Two Sorted Arrays

https://leetcode.com/problems/median-of-two-sorted-arrays/

5: Longest Palindromic Substring

https://leetcode.com/problems/longest-palindromic-substring/

9: Palindrome Number

https://leetcode.com/problems/palindrome-number/

11: Container With Most Water

https://leetcode.com/problems/container-with-most-water/

13: Roman to Integer

https://leetcode.com/problems/roman-to-integer/

23: Merge K sorted Linked Lists

https://leetcode.com/problems/merge-k-sorted-lists/

450: Delete Node In A BST

https://leetcode.com/problems/delete-node-in-a-bst/

297: Serialize And Deserialize Binary Tree

https://leetcode.com/problems/serialize-and-deserialize-binary-tree/

543: Diameter of Binary Tree

https://leetcode.com/problems/diameter-of-binary-tree/

21: Merge Two Sorted Lists https://leetcode.com/problems/merge-two-sorted-lists/

43: Multiply Strings https://leetcode.com/problems/multiply-strings/

1838: Frequency of the most frequent element https://leetcode.com/problems/frequency-of-the-most-frequent-element/

1854: Maximum population year https://leetcode.com/problems/maximum-population-year/

1903: Largest odd number in string https://leetcode.com/problems/largest-odd-number-in-string/#:~:text=Return%20the%20largest%2Dvalued%20odd,%22%2C%20and%20%2252%22.

About

Collection of LeetCode questions to ace the coding interview! - Created using [LeetHub](https://github.com/QasimWani/LeetHub)

Topics

Resources

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published