Displaying 1 to 20 from 21 results

pretty-algorithms - 🌊 Pretty, common and useful algorithms with modern JS and beautiful tests

  •    TypeScript

Common useful algorithms written in modern, pretty and easy-to-understand Javascript along with real-world usage examples. Implementations are in standard ES6 Javascript with the addition of Typescript type annotations for better clarity.All the algorithms are also tested using Jest with the help of custom beautiful snapshots.

algorithms

  •    Javascript

Classic algorithms and data structures implemented in JavaScript, you know... FOR SCIENCE.

cosmos - Algorithms that run our universe | Your personal library of every algorithm and data structure code that you will ever encounter | Ask us anything at our forum

  •    C++

Cosmos is your personal offline collection of every algorithm and data structure one will ever encounter and use in a lifetime. This provides solutions in various languages spanning C, C++, Java, JavaScript, Swift, Python, Go and others. This work is maintained by a community of hundreds of people and is a massive collaborative effort to bring the readily available coding knowledge offline.




Python - All Algorithms implemented in Python

  •    Python

These are for demonstration purposes only. There are many implementations of sorts in the Python standard library that are much better for performance reasons. From Wikipedia: Bubble sort, sometimes referred to as sinking sort, is a simple sorting algorithm that repeatedly steps through the list to be sorted, compares each pair of adjacent items and swaps them if they are in the wrong order. The pass through the list is repeated until no swaps are needed, which indicates that the list is sorted.

javascript-algorithms - 🤖 Algorithms and data structures implemented in JavaScript with explanations and links to further readings

  •    Javascript

This repository contains JavaScript based examples of many popular algorithms and data structures. Each algorithm and data structure has its own separate README with related explanations and links for further reading (including ones to YouTube videos).

computer-science-in-javascript - Computer science reimplemented in JavaScript

  •    Javascript

This repository contains code about various series of posts that I made on my blog about computer science (mostly data structures and sorting algorithms) reimplemented in JavaScript. The #data-structures series is a collection of posts about reimplemented data structures in JavaScript.

JS-Sorting-Algorithm - 一本关于排序算法的 GitBook 在线书籍 《十大经典排序算法》,使用 JavaScript & Python & Go & Java 实现。

  •    Java

一本关于排序算法的 GitBook 在线书籍 《十大经典排序算法》,使用 JavaScript & Python & Go & Java 实现。


interview - Data Structures and Algorithms in Java (useful in interview process)

  •    Java

Very useful in interview process for Java Software Development Engineer (SDE). The loop executes N times, so the sequence of statements also executes N times. If we assume the statements are O(1), the total time for the for loop is N * O(1), which is O(N) overall.

radix - A fast string sorting algorithm

  •    Go

This is an optimized sorting algorithm equivalent to sort.Strings in the Go standard library. For string sorting, a carefully implemented radix sort can be considerably faster than Quicksort, sometimes more than twice as fast.A discussion of MSD radix sort, its implementation and a comparison with other well-known sorting algorithms can be found in Implementing radixsort.

Javascript

  •    Javascript

These are for demonstration purposes only. There are many implementations of sorts in the Javascript standard library that are much better for performance reasons. From Wikipedia: Bubble sort, sometimes referred to as sinking sort, is a simple sorting algorithm that repeatedly steps through the list to be sorted, compares each pair of adjacent items and swaps them if they are in the wrong order. The pass through the list is repeated until no swaps are needed, which indicates that the list is sorted.

PySortDemo - Visualization of sorting algorithms, done in Python.

  •    Python

This project is intended to help visualize different sorting algorithms. To run the program, run SortDisplay.py.

sorting - :dango: Visualize the process of sorting algorithms simply

  •    Python

Now it shows just each completed steps, so I'll support the code tracing for visualizing the every steps including swapping later. There are very few commands.

SortingForArray - Demo·必会的算法操作:字符串数组排序+模型对象数组排序

  •    Objective-C

Demo·必会的算法操作:字符串数组排序+模型对象数组排序

algorithms - Basic algorithms and data structures curriculum for beginners

  •    Javascript

What are algorithms? They a set of instructions performed on some data. They act as different ways of storing and manipulating data provides us easier, faster, or previously-thought impossible ways to solve real world problems. The subject may seem intimidating at first, but it is all built on top of small key pieces over one another. This curriculum is designed to help you get started on those fundamental pieces. While many resources exist online, many are filled with jargons and require extensive previous knowledge. This curriculum is geared towards beginners, and it provides the walkthroughs, test cases, and online help on Slack.

c-sorting-algorithms - 📦 A collection of sorting algorithms written in C

  •    C

📦 A collection of sorting algorithms written in C. Learning sorting algorithms teaches you algorithm design. You will learn how to use paradigms like divide and conquer, how to measure algorithm complexity and when to use different sorting algorithms to maximize efficiency.

ruby

  •    Ruby

This is repo keeps examples with description modern principles, patterns. Unusual behavior of the ruby - a small details that hide from our sight for hours of hardcore debugging.