Тёмный

সিলেকশন সর্ট - Selection Sort 

Tamim Shahriar
Подписаться 96 тыс.
Просмотров 67 тыс.
50% 1

Опубликовано:

 

20 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 38   
@abdullahbabor4876
@abdullahbabor4876 4 года назад
Thank You, Sir! I had a bit of confusion about the time complexity of the Binary search. Now it's crystal clear! Thanks again
@RahmatKhanZai89
@RahmatKhanZai89 2 года назад
I would like to express my thanks to you, Tamim Shahriar, My gratitude for your indisputably magnificent assistance is almost infinite. Your efforts have not gone unnoticed. I really like your contribution that you have in our society, you really make a difference and help others out, the world could always use more people like you. Gosh, what a polite and humble fellow. It is such a kind honour for someone as low as me to be in contact with someone of a level such as yours. I thank you once again my good friend. A world without you, would be a world I would not be able to live in, and I believe I share that opinion with most people. I can rest easy tonight knowing you helped. I appreciate you and everything you stand for and on behalf of everyone on planet earth, thanks.
@mdpolassikder6384
@mdpolassikder6384 3 года назад
Best Programming Teacher
@kamrulnaim2234
@kamrulnaim2234 Год назад
Sir,if we run the loop from i=0 to i
@ahmedfaysal4175
@ahmedfaysal4175 Год назад
n-1 element exchange korar por automatically sob theke boro digit ta last position e chole jabe, tai loop ta akbar kom use korleo hobe
@RaiyadRaad
@RaiyadRaad 6 лет назад
ধন্যবাদ। আপনার ভিডিওগুলো থেকে অনেক কিছু শেখা যায়। তবে ভিডিওর সাউন্ড কোয়ালিটি আরেকটু ভালো করা যেতে পারে।
@chistyinfo
@chistyinfo 6 лет назад
Thanks, Shahriar bhai for your video tutorial.
@shiplu3941
@shiplu3941 5 лет назад
আপনার ভিডিও গুলো অসাধারণ ।ধন্যবাদ
@promilaghoshmonty8700
@promilaghoshmonty8700 6 лет назад
অনেক ধন্যবাদ ভাইয়া
@mdjoynulabedin3542
@mdjoynulabedin3542 2 года назад
ভাইয়া , array.sort() / list.sort() থাকতে selection sort অ্যালগো‌রিদম কেন ব্যবহার করবো?
@TamimShahriar
@TamimShahriar 2 года назад
selection sort অ্যালগরিদম আমরা আসলে ব্যবহার করব না। অ্যালগরিদমটা কিভাবে কাজ করে এটা শেখা দরকার হচ্ছে প্রোগ্রামিং লজিক বুঝার জন্য - নিজের প্রোগ্রামিং লজিক বাড়ানোর জন্য।
@mdjoynulabedin3542
@mdjoynulabedin3542 2 года назад
@@TamimShahriar ধন্যবাদ ভাইয়া
@parvejmosharaf8046
@parvejmosharaf8046 6 лет назад
such a great job
@abeerahmed7351
@abeerahmed7351 4 года назад
Sir, I have simplified this code. Can you take a look, please? int arr[5] = {2, 5, 3, 4, 1}; for (int j = 0; j < 4; j++) { for (int k = j+1; k < 5; k++) { if (arr[j] > arr[k]) { int temp = arr[j]; arr[j] = arr[k]; arr[k] = temp; } } } By the way, your videos are very informative. Thanks a lot.
@altafhossain7793
@altafhossain7793 3 года назад
Umm I have a question . In the time complexicity of selection sort the expression was n+ n-1 + n-2 ... 2 + 1. If we just add this thing , we would have some kn + constant . I know I don't have to think about this when I am in math class but here , it matters , if I think this way my complexicity is O(n) ; why am I wrong ? And , I might encounter same type of arguments as the programmes will be more complex , so I think its important ...
@TamimShahriar
@TamimShahriar 3 года назад
The sum of this series is n * (n+1) / 2, which is n^2/2 and can be written as O(n^2). Please go through this proof - en.wikipedia.org/wiki/1_%2B_2_%2B_3_%2B_4_%2B_⋯
@rijuwanahmed8742
@rijuwanahmed8742 3 года назад
@@TamimShahriar স্যার, এইটা মেইল ফাংশনে কিভাবে কল করে প্রিন্ট করতে হবে এইটা দেখিয়ে দিলে ভালো হতো।
@shuvshaw9594
@shuvshaw9594 4 года назад
Very helpful.
@askmeanything-universityed3727
@askmeanything-universityed3727 4 года назад
অনেক ভালো লাগল
@mdmonir-xt6kr
@mdmonir-xt6kr 4 года назад
Vai boi koi pabo .. Boi ar nam ki .. ?
@rimonmorad8639
@rimonmorad8639 6 лет назад
Thx vaia
@shibbirahmad5313
@shibbirahmad5313 2 года назад
Thanks
@nazninnahar430
@nazninnahar430 5 лет назад
Thank you so much
@hmreza5246
@hmreza5246 3 года назад
স্যার এই বই টি কি? বাংলায় লেখা??
@shamimsictitjobsolution5492
@shamimsictitjobsolution5492 5 лет назад
Thanks.
@sumonfakir4942
@sumonfakir4942 6 лет назад
thank you sir
@user_BunnyAtNSU
@user_BunnyAtNSU Год назад
CODE: #include using namespace std; int main(){ int arr[] = {5,3,6,2,7}; int i,j,n, index_min, temp; n= sizeof(arr)/sizeof(arr[0]); for( i=0; i
@mehedihasan2261
@mehedihasan2261 Год назад
AMAR EI CODE TA KMN time comlexicity er dik teke #include void displayArray(int arr[]){ printf("The array is : "); int j=9; for(int i=0; i
@bztherpr7764
@bztherpr7764 Год назад
#include int main() { int i, j, n, a[100], temp; printf("How much number you want to write?: "); scanf("%d", &n); for(int i=0; i
@sakhawatrudra1564
@sakhawatrudra1564 3 года назад
Thanks
Далее
বাবল সর্ট - Bubble Sort
13:50
Просмотров 67 тыс.
Insertion Sort - Bangla Video
18:53
Просмотров 53 тыс.
স্ট্যাক - Stack
20:59
Просмотров 55 тыс.
Quick Sort
13:34
Просмотров 419 тыс.
বাইনারি সার্চ - binary search
18:43
Quicksort In Python Explained (With Example And Code)
14:13