All Projects → Dbz → Algorithms

Dbz / Algorithms

Licence: MIT license
Data Structures & Algorithms. Includes solutions for Cracking the Coding Interview 6th Edition

Programming Languages

ruby
36898 projects - #4 most used programming language
javascript
184084 projects - #8 most used programming language
python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Algorithms

Data-Structure-Algorithm-Programs
This Repo consists of Data structures and Algorithms
Stars: ✭ 464 (+421.35%)
Mutual labels:  tree, stack, queue, sum, cracking-the-coding-interview, heap
Algo Tree
Algo-Tree is a collection of Algorithms and data structures which are fundamentals to efficient code and good software design. Creating and designing excellent algorithms is required for being an exemplary programmer. It contains solutions in various languages such as C++, Python and Java.
Stars: ✭ 166 (+86.52%)
Mutual labels:  tree, stack, queue, trie, heap
DSA
Data Structures and Algorithms
Stars: ✭ 13 (-85.39%)
Mutual labels:  queue, datastructures, heap, trees, stacks
AlgoDaily
just for fun
Stars: ✭ 118 (+32.58%)
Mutual labels:  tree, stack, queue, trie, algorithm-challenges
Interview Questions
List of all the Interview questions practiced from online resources and books
Stars: ✭ 187 (+110.11%)
Mutual labels:  tree, stack, queue, datastructures, algorithm-challenges
Containers
This library provides various containers. Each container has utility functions to manipulate the data it holds. This is an abstraction as to not have to manually manage and reallocate memory.
Stars: ✭ 125 (+40.45%)
Mutual labels:  tree, stack, queue, datastructures
Data-Structures
Algorithmic Problems Solutions -- hash table code featured in geeksforgeeks
Stars: ✭ 44 (-50.56%)
Mutual labels:  stack, queue, trie, heap
Cdcontainers
Library of data containers and data structures for C programming language.
Stars: ✭ 57 (-35.96%)
Mutual labels:  stack, queue, datastructures, heap
Data Structures
A collection of powerful data structures
Stars: ✭ 2,534 (+2747.19%)
Mutual labels:  stack, queue, trie, heap
C Macro Collections
Easy to use, header only, macro generated, generic and type-safe Data Structures in C
Stars: ✭ 192 (+115.73%)
Mutual labels:  stack, queue, datastructures, heap
Leetcode
High-quality LeetCode solutions
Stars: ✭ 178 (+100%)
Mutual labels:  tree, stack, queue, trie
DEPRECATED-data-structures
A collection of powerful data structures
Stars: ✭ 2,648 (+2875.28%)
Mutual labels:  stack, queue, trie, heap
Datastructure
常用数据结构及其算法的Java实现,包括但不仅限于链表、栈,队列,树,堆,图等经典数据结构及其他经典基础算法(如排序等)...
Stars: ✭ 419 (+370.79%)
Mutual labels:  tree, stack, queue, datastructures
Algodeck
An Open-Source Collection of 200+ Algorithmic Flash Cards to Help you Preparing your Algorithm & Data Structure Interview 💯
Stars: ✭ 4,441 (+4889.89%)
Mutual labels:  tree, stack, queue, heap
Coding Interview Gym
leetcode.com , algoexpert.io solutions in python and swift
Stars: ✭ 451 (+406.74%)
Mutual labels:  stack, queue, trie, heap
Data-Structures-Algorithms-Handbook
A series of important questions with solutions to crack the coding interview and ace it!
Stars: ✭ 30 (-66.29%)
Mutual labels:  heap, trees, stacks, tries
Algorithm-Data-Structures-Python
Various useful data structures in Python
Stars: ✭ 34 (-61.8%)
Mutual labels:  tree, stack, queue, heap
Learningmasteringalgorithms C
Mastering Algorithms with C 《算法精解:C语言描述》源码及Xcode工程、Linux工程
Stars: ✭ 615 (+591.01%)
Mutual labels:  tree, stack, queue, heap
Data Structures
This repository contains some data structures implementation in C programming language. I wrote the tutorial posts about these data structures on my personal blog site in Bengali language. If you know Bengali then visit my site
Stars: ✭ 82 (-7.87%)
Mutual labels:  tree, stack, queue
Data Structures With Go
Data Structures with Go Language
Stars: ✭ 121 (+35.96%)
Mutual labels:  tree, stack, queue

Data Structures & Algorithms Repository

This is repository of data structures and algorithms written in JavaScript and Ruby. Some of the algorithms are from Cracking the Coding Interview by Gayle Laakmann McDowell .

Contributing

Contributions are welcome! Please read the Contributing guidelines and the Code of Conduct on how to contribute. This project is Licensed under the MIT License.

Ruby Instructions:

To run Ruby specs, execute the rspec command in the terminal

JavaScript Instructions:

To run JavaScript specs, execute the rake jasmine command in the terminal. Then open a web browser to http://localhost:8888/

Algorithms & Data Structures

Key
- (R) means Ruby
- (JS) means JavaScript
- (P) means Python
- (CtCI) means Cracking the Coding Interview
- (DP) means Dynamic Programming
  • Array - Binary Search Tree From Array (R)
  • Array - Contains Duplicate (JS)
  • Array - Difference Between Arrays (R)
  • Array - Find Single Number (R)
  • Array - Highest Product of 3 (JS)
  • Array - Longest Common Prefix (R)
  • Array - Majority Element (JS)
  • Array - Make Change (CtCI)(JS)(R)
  • Array - Maxiumum Subsequence (CtCI)(DP)(R)
  • Array - Merge Two Sorted Lists (JS)(R)
  • Array - Min Change Sum (CtCI)(DP)(R)
  • Array - Missing Number (CtCI)(R)
  • Array - Product of All Ints Except @ Index (JS)
  • Array - Quicksort (JS)
  • Array - Remove Value (JS)
  • Array - Rotate Array (R)
  • Array - Rotate Matrix (CtCI 1.7)(R)(P)
  • Array - Shuffle in Place (R)
  • Array - Stock Picker (JS)
  • Array - Subsets (JS)
  • Array - Summary Ranges (R)
  • Array - Transpose (JS)
  • Array - Traverse Spiral Matrix (R)
  • Array - Two Sum (R)
  • Array - Zero Matrix (CtCI 1.8)(R)(P)
  • Data Structure - Binary Tree (JS)(R)
  • Data Structure - Doubly Linked List (R)
  • Data Structure - Hash Table (JS)
  • Data Structure - Min Heap (R)
  • Data Structure - Queue (JS)
  • Data Structure - Queue with Two Stacks (CtCI)(JS)
  • Data Structure - Singly Linked List (R)
  • Data Structure - Stack (JS)(R)
  • Data Structure - Stack with Two Queues (CtCI)(JS)
  • Data Structure - Tree (JS)
  • Data Structure - Trie (JS)
  • Graph - Balanced Binary Tree (R)
  • Graph - Binary Tree Inorder Traversal (R)
  • Graph - Binary Tree Preorder Traversal (R)
  • Graph - Binary Tree to Linked List (R)
  • Graph - Breadth First Search (JS)(R)
  • Graph - Danny Search (R)
  • Graph - Depth First Search (JS)(R)
  • Graph - Dijkstras (R)
  • Graph - Invert Binary Tree (JS)(R)
  • Graph - Is Same Tree (JS)
  • Graph - Largest Internal Binary Search Tree (R)
  • Graph - Lowest Common Ancestor in BST (CtCI)(R)
  • Graph - Maximum Depth of Binary Tree (JS)(R)
  • Graph - Minimum Depth of Binary Tree (JS)(R)
  • Graph - Path Between Two Nodes (CtCI)(R)
  • Graph - Root to Leaf Paths (R)
  • Graph - Second Largest Value in Binary Tree (JS)
  • Graph - Symmetric Binary Tree (JS)
  • Graph - Topological Sort (R)
  • Graph - Tree Breadth First Search (R)
  • Graph - Tree Path Equals Sum (CtCI)(R)
  • Graph - Valid Binary Tree (R)
  • Linked List - Add Reverse Linked List Digits (CtCI)(R)
  • Linked List - Animal Shelter (CtCI 3.6)(R)
  • Linked List - Delete Kth Node in Linked List (R)
  • Linked List - Delete Node in Linked List (JS)
  • Linked List - Delete Middle Node in Linked List (CtCI 2.3)(R)
  • Linked List - Find Linked List Cycle (CtCI)(R)
  • Linked LIst - Intersection of two lists (CtCI 2.7)(R)
  • Linked List - Linked List Palindrome (CtCI)(R)
  • Linked List - Loop Detection (CtCI 2.8)(R)
  • Linked List - Palindrome (CtCI 2.6)(JS)(R)(R2)
  • Linked List - Partition Linked List (CtCI)(R)
  • Linked List - Return Kth to last node (CtCI 2.2)(R)
  • Linked List - Remove Duplicates in Linked List (CtCI 2.1)(R)
  • Linked List - Reverse Linked List (JS)
  • Linked List - Sum Lists (CtCI 2.5)(R)
  • Misc - Climbing Stairs (JS)
  • Misc - Count Primes (R)
  • Misc - Digital Root (JS)
  • Misc - Fibonacci Number (JS)
  • Misc - First Bad Version (R)
  • Misc - Hamming Weight (JS)
  • Misc - HiCal (JS)
  • Misc - Pascal's Triangle (R)
  • Misc - Power of 2 (JS)
  • Misc - Rate Limiter (R)
  • Misc - Seive of Erastenous (R)
  • Stack - Sort Stack (CtCI 3.5)(R)
  • String - Add Binary (R)
  • String - Anagrams (JS)(R)
  • String - Balanced Parens (JS)
  • String - String Compression (CtCI 1.6)(R)(P)
  • String - Caeser Cipher (R)
  • String - Encode URL (CtCI)(R)
  • String - Is Substring (CtCI)(R)
  • String - Isomorphic Strings (R)
  • String - One Edit Away (CtCI)(R)(P)
  • String - Permutation Palindrome (CtCI 1.4)(JS)(R)(P)
  • String - Permutation Strings (CtCI 1.2)(R)(P)
  • String - Remove Duplicates in Text (R)
  • String - Reverse Characters and String (CtCI)(R)
  • String - Roman Numeral -> Integer (JS)
  • String - String Rotation (CtCI 1.9)(R)
  • String - Substrings (JS)
  • String - Unique Characters (CtCI 1.1)(R)(P)
  • String - Valid Anagram (JS)
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].