kumar91gopi / Algorithms And Data Structures In Ruby
Ruby implementation of Algorithms,Data-structures and programming challenges
Stars: ✭ 489
Programming Languages
ruby
36898 projects - #4 most used programming language
Labels
Projects that are alternatives of or similar to Algorithms And Data Structures In Ruby
Java Ds Algorithms
Data Structures and Algorithms in Java
Stars: ✭ 125 (-74.44%)
Mutual labels: algorithm, stack
Competitive Programming
VastoLorde95's solutions to 2000+ competitive programming problems from various online judges
Stars: ✭ 147 (-69.94%)
Mutual labels: algorithm, hackerrank
Hackerrank
📗 Solutions of more than 380 problems of Hackerrank accross several domains.
Stars: ✭ 128 (-73.82%)
Mutual labels: algorithm, hackerrank
Competitivequestion
Question solved on various competitive sites 🤘
Stars: ✭ 5 (-98.98%)
Mutual labels: algorithm, hackerrank
Hackerrank
Solution to HackerRank problems
Stars: ✭ 218 (-55.42%)
Mutual labels: algorithm, hackerrank
Data Structure And Algorithms
A complete and efficient guide for Data Structure and Algorithms.
Stars: ✭ 48 (-90.18%)
Mutual labels: algorithm, hackerrank
.codebits
📚 List of resources for Algorithms and Data Structures in Python & other CS topics @2017
Stars: ✭ 144 (-70.55%)
Mutual labels: algorithm, hackerrank
Competitive Programming
📌 📚 Solution of competitive programming problems, code templates, Data Structures and Algorithms, hackathons, interviews and much more.
Stars: ✭ 496 (+1.43%)
Mutual labels: algorithm, hackerrank
Hackerranksolutions
This is a repo for HackerRankSolutions with Swift
Stars: ✭ 213 (-56.44%)
Mutual labels: algorithm, hackerrank
Interview Questions
List of all the Interview questions practiced from online resources and books
Stars: ✭ 187 (-61.76%)
Mutual labels: algorithm, stack
Algorithm
Algorithm is a library of tools that is used to create intelligent applications.
Stars: ✭ 787 (+60.94%)
Mutual labels: algorithm, stack
Javascript Datastructures Algorithms
📚 collection of JavaScript and TypeScript data structures and algorithms for education purposes. Source code bundle of JavaScript algorithms and data structures book
Stars: ✭ 3,221 (+558.69%)
Mutual labels: algorithm, stack
Learningmasteringalgorithms C
Mastering Algorithms with C 《算法精解:C语言描述》源码及Xcode工程、Linux工程
Stars: ✭ 615 (+25.77%)
Mutual labels: algorithm, stack
Algosolutions
LeetCode, LintCode, Project Euler, SGU, HackerRank, Cracking the Coding Interview(ctci)🌴
Stars: ✭ 117 (-76.07%)
Mutual labels: algorithm, hackerrank
Algorithms And Data Structures In Java
Algorithms and Data Structures in Java
Stars: ✭ 498 (+1.84%)
Mutual labels: algorithm, hackerrank
Data Structures
Common data structures and algorithms implemented in JavaScript
Stars: ✭ 139 (-71.57%)
Mutual labels: algorithm, stack
Competitive Coding
Contains Solution for all type of Problems of Competitive Programming. Updates Frequently as any problem is solved.
Stars: ✭ 16 (-96.73%)
Mutual labels: stack, hackerrank
Algodeck
An Open-Source Collection of 200+ Algorithmic Flash Cards to Help you Preparing your Algorithm & Data Structure Interview 💯
Stars: ✭ 4,441 (+808.18%)
Mutual labels: algorithm, stack
Causaldiscoverytoolbox
Package for causal inference in graphs and in the pairwise settings. Tools for graph structure recovery and dependencies are included.
Stars: ✭ 447 (-8.59%)
Mutual labels: algorithm
Algorithms and Data Structures in Ruby
Awesome-algorithms & Ruby-bookmarks
Featured on
This repository contains Ruby implementation of various Algorithms and Data structures and solution of many challenges of HackerRank and Codility
Content :
Searching
- Binary Search
- Ubiquitous Binary Search (Binary search implementation with various applications)
- Problems based on Binary Search
- Find fixed point in sorted array
- Find smallest missing number in sorted array
- Find majority element in sorted array
- Find minimum element in sorted rotated array
- Search element in sorted rotated array
- Find maximum element in a Bitonic Array
- Find no. of occurences of an element in a sorted Array
- Find floor and ceil of given element in a sorted Array
- Find the element with odd occurences if all other elements have even occurences
- Find the median of two sorted array of equal size
Sorting
- Bubble Sort
- Optimized Bubble Sort
- Selection Sort
- Insertion Sort
- Shell Sort
- Merge Sort
- Quick Sort
- 3 way Quick Sort
- Counting Sort
- Pancake Sort
- Sort array in wave form
- Sort a given array by frequency of elements
- Radix Sort
- Heap Sort
Arrays
- Swapping two numbers
- Algorithm for reversing an array
- Algorithms for array rotation
- Juggling Algorithm for array rotation
- Reversal Algorithm for array rotation
- Block Swap Algorithm for array rotation
- Subarray Problems(Kadane's Algorithm)
- Find missing number in array
- Shuffling an Array
- Find pair in array with sum equal to given value
- Find pair in array with difference equal to given value
- Find pair in array with sum closest to given value
- Find triplet in array with sum equal to given value
- Find Pythagorean triplet in given array
- Find equilibrium index in an array
- Find fixed point in an array
- Dutch National Flag Problem
- Move all zeros to the end of array
- Find all Leaders in an array
- Find smallest missing number in sorted array
- Majority Element in an array
- Find minimum element in sorted rotated array
- Search element in sorted rotated array
- Find maximum element in a Bitonic Array
- Find no. of occurences of an element in a sorted Array
- Find floor and ceil of given element in a sorted Array
- Replace every element by product of previous and next
- Find the element with odd occurences if all other elements have even occurences
- Print the maximum element in each k-sized subarray
- Print Next Greatest Element for each element of array
- Replace every element by maximum element on the right side(Next Greatest Element)
- Find the smallest and second smallest in a given array
- Find the maximum sum with no adjacent elements
- Given two sorted arrays find the union and intersection of arrays
- Given unsorted array of numbers check if numbers are consecutive
- Sort a given array by frequency of elements
- Create a product array from given array
- Find the median of two sorted array of equal size
- Given a 2D array,print its all elements in spiral order
- Find two repeating elements in given array
- Minimum length unsorted subarray,sorting which makes the array sorted
- Find max diff between 2 elements such that larger appears after smaller
- Find duplicates in array in O(n) time and constant space
- Print all distinct elements of given array
- Given an array array, find the maximum j – i such that the element later is bigger
Hashing
- Find pair in array with sum equal to given value(Approach 1)
- Find pair in array with difference equal to given value(Approach 2)
- Sort a given array by frequency of elements
- Print all distinct elements of given array(Approach 2)
Stacks
Bit Algorithms
- Check if a given number is power of 2 or not
- Check if a given number is even or odd
- Given a number return a number with last bit unset
- Count the number of set bits(Brian Kernighan's method)
- Find missing number in array(Approach 2)
- Find two repeating elements in given array(Approach 4)
Mathematics
- Fast multiplication of two numbers(Russian Peasant Multiplication)
- Babylonian Method to find Square root of a number
- Find missing number in array(Approach 1)
- Find two repeating elements in given array(Approach 1)
Hacker Rank
Algorithms
Warm up
- A Very Big Sum
- Diagnol Difference
- Plus Minus
- Simple Array Sum
- Solve Me First
- Staircase
- Time Conversion
Implementation
- Angry Professor
- Chocolate Feast
- Cut The Sticks
- Find Digits
- Service Lane
- Sherlock And Squares
- Sherlock And The Beast
- Utopian Tree
Others
1.Modified Kaprekar Number~New approach added by @madmantalking
Codility
Lessons
Iterations
Arrays
Time-complexity
Counting Elements
- FrogRiverOne
- MaxCounters
- MissingInteger
- PermCheck
Prefix Sums
- CountDiv
- MinAvgTwoSlice
- Passing Cars
Sorting
Stacks and Queues
Leader
Maximum Slice Problem
Prime and Composite numbers
Others
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].