Giter Site home page Giter Site logo

Comments (4)

LucasPilla avatar LucasPilla commented on June 4, 2024 1

@shivamAmrutia You could just delete it, it's there just for the meme 🤣

from sorting-algorithms-visualizer.

lucasrafaldini avatar lucasrafaldini commented on June 4, 2024 1

Hey, guys. Do you think deleting is the best alternative? I'm not sure about that because either its a meme or not, it has a name and a method and both are common conventions, so I think it's nice for beginners to (at least) know what this sh*t is at all lol

I mean... This repo isn't just about visualising the algorithms but also about reading its docstrings and understanding how its implemented and for what ends it is being used for (or not). So, deleting it would make it less complete, don't you think?

from sorting-algorithms-visualizer.

LucasPilla avatar LucasPilla commented on June 4, 2024

@shivamAmrutia Actually the bogosort isn't expected to work 🤣. It's just a random algorithm.

def bogoSort(array, *args):
is_sorted = False
arrayLen = len(array)
count = 0
while not is_sorted:
count += 1
for i in range(arrayLen):
j = randint(0, arrayLen-1)
array[i], array[j] = array[j], array[i]

Btw, i should remove it. You can do it if you want.

from sorting-algorithms-visualizer.

shivamAmrutia avatar shivamAmrutia commented on June 4, 2024

Alright i think i will just add some text that is triggered when time limit is exceeded 😅 , looks better ig

from sorting-algorithms-visualizer.

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.