Selection Sort Algorithm: Theory & Code
Deep dive into selection sort, how it works, and its complexity analysis. Learn the algorithm with detailed explanations and code.

Kunal Kushwaha
345.4K views • Aug 23, 2021

About this video
This is the second video in the sorting algorithm series where we cover selection sort in depth. We look at how the algorithm works, the complexity analysis, and code.
Take part in the learning in public initiative! Share your learnings on LinkedIn and Twitter with #DSAwithKunal & don't forget to tag us!
👉 Resources
- Join Replit: http://join.replit.com/kunal-kushwaha
- Complete Java DSA playlist: https://www.youtube.com/playlist?list=PL9gnSGHSqcnr_DxHsP7AW9ftq0AtAyYqJ
- Code, Assignments, & Notes: https://github.com/kunal-kushwaha/DSA-Bootcamp-Java
➡️ Connect with me: http://kunalkushwaha.com
=========================================
Timestamps:
0:00 Introduction
0:38 What is Selection Sort?
4:40 Complexity of Selection Sort
8:21 Worst Case
8:30 Best Case
8:47 Stability
9:01 Use Case
9:20 Algorithm for Selection Sort
11:15 Code for Selection Sort
18:36 Outro
#sorting #placement #dsa #interviews
Take part in the learning in public initiative! Share your learnings on LinkedIn and Twitter with #DSAwithKunal & don't forget to tag us!
👉 Resources
- Join Replit: http://join.replit.com/kunal-kushwaha
- Complete Java DSA playlist: https://www.youtube.com/playlist?list=PL9gnSGHSqcnr_DxHsP7AW9ftq0AtAyYqJ
- Code, Assignments, & Notes: https://github.com/kunal-kushwaha/DSA-Bootcamp-Java
➡️ Connect with me: http://kunalkushwaha.com
=========================================
Timestamps:
0:00 Introduction
0:38 What is Selection Sort?
4:40 Complexity of Selection Sort
8:21 Worst Case
8:30 Best Case
8:47 Stability
9:01 Use Case
9:20 Algorithm for Selection Sort
11:15 Code for Selection Sort
18:36 Outro
#sorting #placement #dsa #interviews
Tags and Topics
Browse our collection to discover more content in these categories.
Video Information
Views
345.4K
Likes
8.1K
Duration
18:49
Published
Aug 23, 2021
User Reviews
4.8
(69) Related Trending Topics
LIVE TRENDSRelated trending topics. Click any trend to explore more videos.
Trending Now