Giter Site home page Giter Site logo

eleev / swift-algorithms-data-structs Goto Github PK

View Code? Open in Web Editor NEW
60.0 3.0 7.0 1.35 MB

๐Ÿ“’ Algorithms and Data Structures. The used approach attempts to fully utilize the Swift and POP.

License: MIT License

Swift 100.00%
ios swift playgrounds algorithms datastructures data-structures scenekit spritekit apple playground xcode learning education tutorial visualization swift-algorithms swift-datastructures

swift-algorithms-data-structs's Introduction

swift-algorithms-data-structs Awesome

Language License

Last Update: 18/July/2021.

If you like the project, please give it a star โญ It will show the creator your appreciation and help others to discover the repo.

โœ๏ธ About

The repository contains examples of common Algorithms and Data Structures implemented using the latest stable version of Swiftprogramming language. The development attempts to fully utilize Standard Library and Protocol-Oriented paradigm. The project provides interactive visualizations using SpriteKit and SceneKit frameworks (in development).

๐Ÿ“š Content

Each major section will be wrapped into a separete .playground file, meaning that data structures and algorithms will be separeted for convenient management. :octocat:

๐Ÿ“บ Interactive Visualizations

The following list contains interactive visualizations that were implemented as part of the project. In majority of cases you can interact with a data structure or algorithm through a number of UI controlls. Visualizations are implemented using SpriteKit framework and are intended to explain the work of data structures and algorithms in a more highlevel way, which is a great way to learn especially if you are a beginner or you aren't familiar with something listed in the repository.

Stack

Stack visalization has two main UI controlls: push and pop. They perform corresponding operations: adding a new book at the top of the stack and removing the top book from the stack. Also there is a label that shows how many books are in the stack. Since the screen size is limited and for the sake of simplicity, the number of books in stack is limited.

Queue

Queue visualization is similar to Stack interactive visualization: it has two main UI controls that allow you to interact with the interface of the Queue data structure for enqueue and dequeue operations. You can see the number of animals in the queue as well.

๐Ÿ‘จโ€๐Ÿ’ป Author

Astemir Eleev

๐Ÿ”– Licence

THE PROJECT IS UNDER MIT LICENCE

swift-algorithms-data-structs's People

Contributors

aryanahadinia avatar eleev avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

swift-algorithms-data-structs's Issues

Red-Black Tree implementation

Currently, the Red-Black Tree data structure has incomplete implementation. The upcoming updates should include the full, tested implementation.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.