Programming & AI Tips šŸ’”
46K subscribers
67 photos
11 videos
30 files
385 links
Programming & AI:
Tips šŸ’”
Articles šŸ“•
AI & LLMs šŸ‘¾
Design, Architecture, Principles āœ…

šŸ‡³šŸ‡± Contact: @MoienTajik
Download Telegram
Algorithm Series šŸ–šŸ“„

Name: Bubble Sort

Type: Comparison sort

Best For: Small datasets

Complexity: O(n²) average and worst-case

How It Works: Repeatedly steps through the list, compares adjacent elements, and swaps them if they are in the wrong order. The pass through the list is repeated until the list is sorted.

ć€°ļøć€°ļøć€°ļøć€°ļøć€°ļøć€°ļø
#Algorithm #BubbleSort
@ProgrammingTip