Inspiration
Need to learn Big O!
Also inspired by the use of Dragula in the OSU Online CS Scheduler (https://hschallh.github.io/cs-scheduler/).
What it does
This is a quiz to test and reinforce knowledge of the time complexity of sorting algorithms.
Theme
"Time" is the theme of this hackathon, and nothing says "time" like asymptotic time complexity!
How we built it
We combined Bootstrap with Dragula (https://github.com/bevacqua/dragula), a JS library for drag-and-drop functionality.
Challenges we ran into
Figuring out how to integrate Dragula was difficult at first, but https://glitch.com/~dragula-example provided a helpful, simple example that pointed us down the right path. The OSU Online CS Scheduler also helped.
Shell sort's time complexity varies depending on how you implement it!
We needed JS logic to make the prize appear when all answers were correct, otherwise display a "keep trying" message.
Preventing the column headers from being able to be dragged was challenging.
We also had to override some Bootstrap styles to get the alignment that we wanted.
Accomplishments that we're proud of
Special prize for correct answers!
Check out our favicon.
What we learned
We learned the basics of Dragula, which could be helpful for future projects.
What's next for Ascertaining Asymptotes
We'll keep an eye on the AlgoRythmics to see when new sorting algorithms should be added to our website.
Drag-and-drop isn't fully functional on mobile yet.
Deploy with Heroku instead of GitHub Pages.
Prevent algorithms from being placed above the column headers.
Built With
- bootstrap
- css
- dragula
- html
- javascript





Log in or sign up for Devpost to join the conversation.