● LIVE
OpenAI releases GPT-5 APIIndia AI startup raises $120MBitcoin ETF hits record inflowsMeta Llama 4 benchmarks leakedOpenAI releases GPT-5 APIIndia AI startup raises $120MBitcoin ETF hits record inflowsMeta Llama 4 benchmarks leaked
📅 Sat, 21 Mar, 2026✈️ Telegram
AiFeed24

AI & Tech News

🔍
✈️ Follow
🏠Home🤖AI💻Tech🚀Startups₿Crypto🔒Security🇮🇳India☁️Cloud🔥Deals
✈️ News Channel🛒 Deals Channel
Home/Cloud & DevOps/My Journey Through Sorting Algorithms
☁️Cloud & DevOps

My Journey Through Sorting Algorithms

Over the past few sessions, I got hands-on experience with different sorting algorithms, and honestly, it felt like slowly uncovering how computers “think” when organizing data. What started as simple concepts turned into deeper insights about efficiency, memory, and problem-solving. This was my sta

⚡Quick SummaryAI generating...
J

Jeyaprasad R

📅 Mar 21, 2026·⏱ 2 min read·Dev.to ↗
✈️ Telegram𝕏 TweetWhatsApp
📡

Original Source

Dev.to

https://dev.to/jeyaprasadr/my-journey-through-sorting-algorithms-5c7n
Read Full ↗

Over the past few sessions, I got hands-on experience with different sorting algorithms, and honestly, it felt like slowly uncovering how computers “think” when organizing data. What started as simple concepts turned into deeper insights about efficiency, memory, and problem-solving.

📅 Day 07: Bubble Sort & Selection Sort

This was my starting point with sorting algorithms, and it helped me build a strong foundation.

🔹 Bubble Sort

Bubble Sort works by repeatedly comparing adjacent elements and swapping them if they’re in the wrong order.

At first, it felt very intuitive—almost like manually sorting numbers step by step.

💡 What I understood:

  • Easy to implement and visualize
  • Not efficient for large datasets (O(n²))
  • Good for learning, not for real-world use

🔹 Selection Sort

Selection Sort takes a slightly different approach. It finds the smallest element and places it in the correct position.

💡 My takeaway:

  • Fewer swaps compared to Bubble Sort
  • Still not very efficient (O(n²))
  • Helped me understand how selection-based logic works

📅 Day 08: Insertion Sort

Insertion Sort felt more “natural” to me—like arranging playing cards in your hand.

Instead of swapping randomly, it builds a sorted portion step by step.

💡 What stood out:

  • Works well for small or nearly sorted data
  • Still has O(n²) complexity in worst case
  • More efficient than Bubble and Selection in practice

This was the point where I started seeing how different approaches can impact performance.

📅 Day 09: Merge Sort + Real-World Connection

This session was a big jump—from basic to more advanced thinking.

🔹 Merge Sort

Merge Sort uses a divide-and-conquer strategy:

  • Break the array into smaller parts
  • Sort each part
  • Merge them back together

💡 My understanding:

  • Much faster (O(n log n))
  • Works consistently well
  • Requires extra memory

It made me realize how breaking problems into smaller pieces can make them easier to solve.

🧠 Final Reflection

These three days completely changed how I look at sorting:

  • Day 07 gave me the basics
  • Day 08 showed me smarter ways to sort
  • Day 09 introduced efficiency and real-world connections
Tags:#cloud#dev.to

Found this useful? Share it!

✈️ Telegram𝕏 TweetWhatsApp

Read the Full Story

Continue reading on Dev.to

Visit Dev.to ↗

Related Stories

☁️
☁️Cloud & DevOps

Majority Element

about 2 hours ago

☁️
☁️Cloud & DevOps

Building a SQL Tokenizer and Formatter From Scratch — Supporting 6 Dialects

about 2 hours ago

☁️
☁️Cloud & DevOps

Markdown Knowledge Graph for Humans and Agents

about 2 hours ago

Moving Beyond Disk: How Redis Supercharges Your App Performance
☁️Cloud & DevOps

Moving Beyond Disk: How Redis Supercharges Your App Performance

about 2 hours ago

📡 Source Details

Dev.to

📅 Mar 21, 2026

🕐 about 4 hours ago

⏱ 2 min read

🗂 Cloud & DevOps

Read Original ↗

Web Hosting

🌐 Hostinger — 80% Off Hosting

Start your website for ₹69/mo. Free domain + SSL included.

Claim Deal →

📬 AiFeed24 Daily

Top 5 AI & tech stories every morning. Join 40,000+ readers.

✦ 40,218 subscribers · No spam, ever

Cloud Hosting

☁️ Vultr — $100 Free Credit

Deploy cloud servers in 25+ locations. From $2.50/mo. No contract.

Claim $100 Credit →
AiFeed24

India's AI-powered tech news hub. Daily coverage of AI, startups, crypto and emerging technology.

✈️🛒

Topics

Artificial IntelligenceStartups & VCCryptocurrencyCybersecurityCloud & DevOpsIndia Tech

Company

About AiFeed24Write For UsContact

Daily Digest

Top 5 AI stories every morning. 40,000+ readers.

No spam, ever.

© 2026 AiFeed24 Media.Affiliate Disclosure — We earn commission on qualifying purchases at no extra cost to you.
PrivacyTermsCookies