Giter VIP home page Giter VIP logo

Comments (3)

viragumathe5 avatar viragumathe5 commented on May 13, 2024 1

Yeah it's nice to visualize algorithms it helps us to understand very well

so according to me, you can visualize these algorithms using Computational Geometry, it is like you are drawing things on a graph paper
for this video
You can take n numbers of lines with different heights and just apply the sorting algorithms you like and you can able to see the magic of algorithms then

Using CG you can visualize different algorithms as well

Now an important thing how to apply it

there are two well-known libs for it

  1. LEDA (Library of Efficient Data-types and Algorithms)
  2. CGAL (The Computational Geometry Algorithms Library)
    https://www.cgal.org/

LEDA is not free it comes with enterprise edition
you can use CGAL its a good lib for CG

also if you want a book to read on CG go through the following

Computational Gemoetry.pdf

this is CGAL tutorials you can go through it
https://doc.cgal.org/latest/Manual/tutorials.html

from interviews.

viragumathe5 avatar viragumathe5 commented on May 13, 2024

It is not about visualizing the algorithms it is about to understand them just seek for a solution and think before you write something
Initially, you don't look for its complexity just implement it as worst as you can and then make it efficient

from interviews.

rohitkrishna094 avatar rohitkrishna094 commented on May 13, 2024

@viragumathe5 I totally understand what you are saying. But I just wanted to know how these visualizations were done. I was planning on creating a new project where I could visualize all sorting algorithms for example, like this video.

https://www.youtube.com/watch?v=kPRA0W1kECg

Visualization would be a nice way to practice such algorithms since you can learn as well as see them with colors and graphs and such. :)

from interviews.

Related Issues (20)

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.