Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/rampa2510/ds-algo-solns
- Owner: rampa2510
- Created: 2020-07-25T07:39:16.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-08-08T13:58:10.000Z (over 4 years ago)
- Last Synced: 2023-03-07T15:49:43.138Z (over 1 year ago)
- Language: Go
- Size: 7.18 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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)