Estimated Duration: 5-7 days An average of 4 questions a day.
Run code online: Repl.it
Practice questions: ✅ Easy Problems →
For some of the questions, you might need understanding of the next two sections of searching & sorting algorithms.
The following links are in another programming language, but you should be able to read, understand the C code & manually convert it to Ruby.
✅ Code 2 searching algorithms in Ruby
Plenty of resources online for this in many programming languages. Study, understand & write a code that you can reproduce yourself.
- Selection Sort
- Bubble Sort
- Insertion Sort
- Merge Sort
- Quick Sort
Visualisation: VisualGo
✅ Code 5 sorting algorithms in Ruby