Coder Social home page Coder Social logo

algorithm-visualizer's Introduction

Algorithm Visualizer

Bubble Sort

Description

A mini-project visualizing how the Bubble Sort algorithm works. I had spent a couple of weeks going through some LeetCode problems and brushing up on my algorithm knowledge in C#, when I decided that it would be cool (and more fun...) to make it into a project and learn a bit more about the various templates on Visual Studio. I found a series on YouTube by Michael Duffy that I followed along with. This my was first time using Windows Forms and I was surprised to find how easy it was to set up a basic GUI and be able to double click on them to write directly into a function.

Future Improvements

As of now, I'm content with the project and I do not have plans to continue it. If I were to add more there would be a couple of changes that I would implement. When I first made my Bubble Sort algorithm, I ended up making a recursive resolution (it is commented out in the BubbleSort.cs file). It would be fun to implement multiple Bubble Sort solutions and display a test showing the speed/space of each. In addition to this, I would add more sorting algorithms. Lastly, and the part that I struggled with the most, would be to find a way to slow down the program and have it be displayed better to the user on what is happening. The computer sorts the array so fast that it is hard to follow what's happening without some background knowledge of how Bubble Sort already works.

Built With

  • C#
  • Windows Forms App (.NET Framework)

algorithm-visualizer's People

Contributors

kfollen93 avatar

Watchers

 avatar  avatar

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.