All Projects → sagivo → Algorithms

sagivo / Algorithms

algorithms playground for common questions

Programming Languages

ruby
36898 projects - #4 most used programming language

Projects that are alternatives of or similar to Algorithms

.codebits
📚 List of resources for Algorithms and Data Structures in Python & other CS topics @2017
Stars: ✭ 144 (-95.54%)
Mutual labels:  algorithm, computer-science, interview-questions
Algorithms Cheatsheet Resources
🤓All the geeky stuffs you need to know at one place!
Stars: ✭ 60 (-98.14%)
Mutual labels:  algorithm, computer-science, interview-questions
Tech Refrigerator
🍰 기술 냉장고입니다. 🛒 기술 면접 , 전공 시험 , 지식 함양 등 분명 도움될 거예요! 🤟
Stars: ✭ 699 (-78.34%)
Mutual labels:  algorithm, computer-science, interview-questions
C Plus Plus
Collection of various algorithms in mathematics, machine learning, computer science and physics implemented in C++ for educational purposes.
Stars: ✭ 17,151 (+431.48%)
Mutual labels:  algorithm, computer-science, interview-questions
Cs Notes
📚 技术面试必备基础知识、Leetcode、计算机操作系统、计算机网络、系统设计
Stars: ✭ 143,620 (+4350.57%)
Mutual labels:  algorithm, computer-science
Javascript Algorithms
📝 Algorithms and data structures implemented in JavaScript with explanations and links to further readings
Stars: ✭ 133,406 (+4034.06%)
Mutual labels:  algorithm, computer-science
TheJobInterviewGuide
A job guide to help developers get through interviews and get amazing jobs!
Stars: ✭ 267 (-91.73%)
Mutual labels:  computer-science, interview-questions
Interview materials
A curated list of all essential job interview preparation materials.
Stars: ✭ 27 (-99.16%)
Mutual labels:  computer-science, interview-questions
.net Big O Algorithm Complexity Cheat Sheet
Big-O complexities of common algorithms used in .NET and Computer Science.
Stars: ✭ 215 (-93.34%)
Mutual labels:  algorithm, computer-science
CS Offer
后台开发基础知识总结(春招/秋招)
Stars: ✭ 352 (-89.09%)
Mutual labels:  computer-science, interview-questions
learning-computer-science
Learning data structures, algorithms, machine learning and various computer science constructs by programming practice from resources around the web.
Stars: ✭ 28 (-99.13%)
Mutual labels:  computer-science, interview-questions
Tech Interview Handbook
💯 Curated interview preparation materials for busy engineers
Stars: ✭ 64,851 (+1909.64%)
Mutual labels:  algorithm, interview-questions
Interviews
Everything you need to know to get the job.
Stars: ✭ 54,875 (+1600.5%)
Mutual labels:  algorithm, interview-questions
Coding Interview University
A complete computer science study plan to become a software engineer.
Stars: ✭ 204,859 (+6248.28%)
Mutual labels:  algorithm, computer-science
Cs Books
📚 Computer Science Books 计算机技术类书籍 PDF
Stars: ✭ 2,915 (-9.67%)
Mutual labels:  algorithm, computer-science
cs-interview-questions
Personal Solutions to Interview Questions
Stars: ✭ 59 (-98.17%)
Mutual labels:  computer-science, interview-questions
Data Structures Algorithms
My implementation of 85+ popular data structures and algorithms and interview questions in Python 3 and C++
Stars: ✭ 273 (-91.54%)
Mutual labels:  algorithm, interview-questions
Mega Interview Guide
The MEGA interview guide, JavaSciript, Front End, Comp Sci
Stars: ✭ 255 (-92.1%)
Mutual labels:  computer-science, interview-questions
Codinginterviews
This repository contains coding interviews that I have encountered in company interviews
Stars: ✭ 2,881 (-10.72%)
Mutual labels:  algorithm, interview-questions
Leetcode Go
✅ Solutions to LeetCode by Go, 100% test coverage, runtime beats 100% / LeetCode 题解
Stars: ✭ 22,440 (+595.38%)
Mutual labels:  algorithm, interview-questions

Algorithms

Algorithms playground for common questions solved in ruby syntax.
In case you want to prepare yourself for a job interview - try to solve it yourself first, then have a look here.

Why?

I interviewed with Google, Facebook, LinkedIn, Twitter and others. I also interviewed others myself. Sometimes it looks like they all ask you the same "out of the box" questions that don't really check knowledge but memorization of the same tricks. This is my way of saying - change your interview style. There are lots of smart people out there, this is not the best way to find them.

Problems

problem solution
Unique binary search trees click
House Robber click
Decode Ways click
Coin change click
Decode Strings click
Wiggle Subsequence click
Binary Tree Side View click
Unix path click
Array Product click
Top K Frequent Elements click
Sum 4 arrays click
Reverse Linked List click
Reverse String In-place click
Nested List Weight Sum II click
Symmetric Tree click
Dijkstra's shortest path between two nodes click
Kruskal's minimum spanning tree algorithm click
Find the square root of a number click
Add two binary numbers click
Binary search click
Longest increasing subsequence click
Find all permutations of array click
Finding all combinations of well-formed brackets click
Finding the powerset of a set click
Game of life click
Print all combinations of set joining click
count and say click
Telephone number to words click
Maximum contiguous subarray click
Max Stack click
Find the smallest biggest number that has the same digits click
Find the minimum insertions needed to make a word palindrome click
String matching - Knuth Morris Pratt algorithm KMP click
Balanced Parentheses click
Quicksort algorithm click
Mergesort algorithm click
Max Stocks Profit click
Countingsort algorithm click
Shellsort algorithm click
Knapsack problem click, click
Move Zeroes click
Longest common subsequence problem click , click
Monty Hall Problem click
Eucliden and Extended Eucliden algorithm click
Suggest index of a number in an array click
Range minimum query sparse table algorithm click
Insertion Sort click
Towers of Hanoi using Stack click
Tarjan's strongly connected components finder click

How?

Simply run ruby some_file.rb to execute the algorithm. At the bottom of each file there are some test samples.
example: ruby brackets_combinations.rb will print:
["((()))", "(()())", "(())()", "()(())", "()()()"].

Contribute

Did you find a bug? any way to do it better? please feel free to pull-request it :)

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].