/leetcode-32

All the practice questions from leetcode

Primary LanguageC#

LEETCODE - An ultimate guide to leetcode problems

The repository is created to solve the fundamental interview questions, focussing on data structures and algorithms.
This file maintains the details of each program and the related source/other information.
The repository currently written in C# (VS 2019 - .net version 8.0)

Two Sum

Issue: om-ganesh#2
Problem: https://leetcode.com/problems/two-sum/
Solution: TwoSum.cs

Sum of Singly Linked List of numbers

Issue: om-ganesh#4
Problem: https://leetcode.com/problems/add-two-numbers/
Solution: AddSinglyLinkedLists.cs

Median of two sorted Array

Issue: om-ganesh#8
Problem: https://leetcode.com/problems/median-of-two-sorted-arrays/
Solution: MedianOfTwoArray.cs

Longest Substring without repeating characters

Issue: om-ganesh#6
Problem: https://leetcode.com/problems/longest-substring-without-repeating-characters/
Solution: LongestSubstring.cs

Minimum window substring

Issue: om-ganesh#6
Problem: https://leetcode.com/problems/minimum-window-substring/
Solution: MinimumWindowSubstring.cs

Move Zeros to end

Issue: om-ganesh#12
Problem: https://leetcode.com/problems/move-zeroes/
Solution: MoveZerosToEnd.cs

Minimum cost to connect all given coordinate points

Issue: om-ganesh#15
Problem: https://leetcode.com/problems/min-cost-to-connect-all-points/
Solution: MinManhattanDistance.cs

Longest Consecutive Sequence

Issue: om-ganesh#19
Problem: https://leetcode.com/problems/longest-consecutive-sequence/
Solution: LongestConsecutiveSequence.cs

Rotate Array In place

Issue: Given an array, rotate the array to the right by k steps, where k is non-negative.
Problem:https://leetcode.com/problems/rotate-array/
Solution: RotateArray.cs

Rotate StringA to check if matches with StringB by offset

Issue: om-ganesh#23
Problem:https://leetcode.com/problems/rotate-string
Solution: RotateStringToMatchOther.cs

Valid Palindrome

Issue: om-ganesh#26
Problem:https://leetcode.com/problems/valid-palindrome/
Solution: PalindromeString.cs

Find first recurring character in array

Issue: om-ganesh#25
Problem: https://leetcode.com/problems/first-unique-character-in-a-string/
Reference: CS Dojo Youtube (https://www.youtube.com/watch?v=GJdiM-muYqc)
Solution: FirstRecurringCharacterInString.cs

Find first unique character in array

Issue: om-ganesh#29
Problem: https://leetcode.com/problems/first-unique-character-in-a-string/
Solution: FirstUniqueCharacter.cs

Check Array Formation Through Concatenation

Problem: https://leetcode.com/problems/check-array-formation-through-concatenation/
Solution: ArrayFormationThroughConcatenation.cs

Find only present single element, except all others are available twice in an array.

Problem: https://leetcode.com/problems/single-number/
Solution: SingleNumber.cs

Find if the given 2d array soduko is valid one (check rows, cols, and box).

Problem: https://leetcode.com/problems/valid-sudoku
Solution: SodukoValidator.cs

Find largest sum from the contiguous elements subarray from given array of numbers

Problem: https://leetcode.com/problems/maximum-subarray/
Solution: MaxInContiguousSubArray.cs