Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/rampa2510/ds-algo-solns

My solutions to leetcode
https://github.com/rampa2510/ds-algo-solns

Last synced: about 6 hours ago
JSON representation

My solutions to leetcode

Awesome Lists containing this project

README

        

# My solutions for DS and Algo Problems I encountered
I have chosen Golang as my language for solving DS and Algo.

## Install Golang
To download golang [click here](https://golang.org/doc/install). Follow the install tion steps and you are ready with your dev envrionment

# Table Of Contents
1. [Leetcode](#Leetcode)
2. [Random](#Random)

## Leetcode
This folder consists of the solutions for the leetcode problems. The folder will be structured in 3 parts based on taged difficulty.

- Easy - consisting of the easy marked solutions
- Medium - consisting of the question taged as medium difficulty level
- Hard - Questions of hard difficulty level

### Easy Problems -
1) [Two sums (1 ques in leetcode)](leetcode/Arrays/Easy/1twoSums.go)
2) [Reverse Integer (7 ques in leetcode)](leetcode/Arrays/Easy/7reverseInteger.go)
3) [Is palindrome (9 ques in leetcode)](leetcode/Arrays/Easy/9isPalindrome.go)
4) [Rotate Arr (189 ques in leetcode)](leetcode/Arrays/Easy/189rotateArr.go)
5) [Shuffle Array (384 ques in leetcode)](leetcode/Arrays/Easy/384shuffleArray.go)
6) [Monotonic Array (896 ques in leetcode)](leetcode/Arrays/Easy/896Monotonic.go)

## Random
This folder consists of the problems that I have solved outside of coding platforms
### Algo
1) [Two sums](Random/Algo/Arrays/twoSums.go)
2) [Validate Squence](Random/Algo/Arrays/validateSequence.go)
3) [Three Sum](Random/Algo/Arrays/threeNumSum.go)
4) [Smallest Difference](Random/Algo/Arrays/smallestDiff.go)
5) [Move To End](Random/Algo/Arrays/moveToEnd.go)
6) [Is Monotonic](Random/Algo/Arrays/monotonic.go)
7) [Spiral Traversal](Random/Algo/Arrays/spiralTraverse.go)
8) [Longest Peak](Random/Algo/Arrays/longestPeak.go)
9) [Four Array Sum](Random/Algo/Arrays/fourSum.go)
10) [Sub array sort](Random/Algo/Arrays/subArr.go)
11) [Longest Range](Random/Algo/Arrays/longestRange.go)
12) [Min rewards](Random/Algo/Arrays/minRewards.go)
13) [Recursion Fibonacci](Random/Algo/Recursion/fib.go)
14) [Special Array Product sum](Random/Algo/Recursion/productSum.go)
15) [ZigZag](Random/Algo/Arrays/zigzag.go)
### Concepts
1) [Singly Linked List](Random/linked-list/singlyLinkedList.go)
2) [Seperate chaining hash table](Random/HashTable/seperateChaining.go)
3) [Linear Probing hash Table](Random/HashTable/openAddressingLinearProbing.go)
4) [Stacks](Random/stack/stack.go)
5) [2 stacks using single array](Random/stack/2stack.go)
6) [Infix to postfix](Random/stack/infixToPostfix.go)
7) [Simple implementation of queue](Random/queue/queue.go)
8) [Binary search using recursion](Random/DC/Search/binarySearch.go)
9) [Merge Sort](Random/DC/Sort/mergeSort.go)