Comments (3)
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
- LEDA (Library of Efficient Data-types and Algorithms)
- 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
this is CGAL tutorials you can go through it
https://doc.cgal.org/latest/Manual/tutorials.html
from interviews.
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.
@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)
- leetcode/array/LongestConsecutiveSequence.java
- Hi ValidParentheses.java HOT 9
- Open a catalog:interviews/company/Alibaba HOT 1
- Master is not compiling, Missing import statements(Java 8) HOT 1
- Adding more problems for Adobe HOT 2
- Compilation Error in FindMissingInteger class
- Bug in google/3sumsmaller
- Code missing
- NPE bugs in MaximumProductOfWordLengths.java and RemoveDuplicatesFromSortedArray.java HOT 3
- binary search tree HOT 1
- LeetCode Python Solutions
- Interview HOT 9
- Interview
- Deque interface should be used instead of Stack class in sorting a stack
- Misleading example for the Greedy Algorithms section HOT 1
- Rename the CTCI chapters HOT 2
- Should be min of min and value at indes HOT 2
- Writing DAX for comparing result of HOT 1
- Interview
- Explanation
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from interviews.