Blog

First Journal

Quick Sort

Posted 2025-11-16 | *By : Cuneyt Yildirim *# Quick Sort

Problem Statement

Given an unsorted array of n elements, write a function to sort the array

Approach

  • Make the right-most index value pivot
  • partition the array using pivot value
  • quicksort left partition recursively
  • quicksort right …

First Journal

Radix Sort

Posted 2025-11-16 | *By : Cuneyt Yildirim *# Radix Sort

The lower bound for Comparison based sorting algorithm (Merge Sort, Heap Sort, Quick-Sort .. etc) is Ω(nlogn), i.e., they cannot do better than nlogn.

Counting sort is a linear time sorting algorithm that sort in O(n+k) time when …

First Journal

Recursive Bubble Sort

Posted 2025-11-16 | *By : Cuneyt Yildirim *# Recursive Bubble Sort

Bubble Sort is one of the simplest sorting algorithms that compares two elements at a time and swaps them if they are in the wrong order. This process is repeated until the entire sequence is in order.

  • Time …