1.3 How Write and Analyze Algorithm

  Рет қаралды 1,202,013

Abdul Bari

Abdul Bari

Күн бұрын

How to Write Algorithm
How to Analyse Simple Algorithm.
Criteria for Analysing Algorithm
PATREON : www.patreon.co...
Courses on Udemy
================
Java Programming
www.udemy.com/...
Data Structures using C and C++
www.udemy.com/...
C++ Programming
www.udemy.com/...

Пікірлер: 266
@geraldqamar4320
@geraldqamar4320 5 жыл бұрын
I decided to save time and look directly for Indian videos Thank you : )
@rajeshsharmajaipur
@rajeshsharmajaipur 5 жыл бұрын
I hope our Indians teachers met your expectations 😁
@muhammadmanekia9041
@muhammadmanekia9041 4 жыл бұрын
@@rajeshsharmajaipur pretty sure he's Pakistani
@rajeshsharmajaipur
@rajeshsharmajaipur 4 жыл бұрын
@@muhammadmanekia9041 Lol, nice joke, once more.
@yosoyfantastico
@yosoyfantastico 4 жыл бұрын
@@muhammadmanekia9041 he's from india, see the channel about
@sayantanbiswas1915
@sayantanbiswas1915 4 жыл бұрын
@@muhammadmanekia9041 He is from Hyderabad, Telengana, Andhra Pradesh, INDIA. You see his Facebook page where his school, college name given. Search that college internet.
@adaugoakaluso1715
@adaugoakaluso1715 2 жыл бұрын
Each statement is one unit of time(Time analysis). Each variable is one word(Space analysis). Wow! Thank you for making it so easy to understand.
@NikitaSharma-bs4gg
@NikitaSharma-bs4gg 4 жыл бұрын
i got goosebumps - sir you are so knowledgeable and wow at explaining- must have even prepared hard before delivering videos like this with such amazing content- much respect
@phill4337
@phill4337 2 жыл бұрын
You got goosepimpled?
@mr.h3506
@mr.h3506 3 жыл бұрын
Thank you sir.. I am a First year engineering student and I am Completing my all course online instead of Listening my professor's lecture.. For C++ and data structure and algo I have taken your course on udemy and for Algorithms I follow your KZbin channel and after Completing all these for java I will also take your udemy course😎😅 . Your teaching style is just awesome. Thank you
@gameovertube481
@gameovertube481 Жыл бұрын
what are you doing now
@herohera3497
@herohera3497 Жыл бұрын
bro do we have to take this algorithm course to do ds??
@OmarfarouqMadey
@OmarfarouqMadey Жыл бұрын
THE GUY IS GOOD
@jaitehkaba8753
@jaitehkaba8753 3 жыл бұрын
I like how he calming, adjust himself by saying "...and furthermore, if you have any other..." Why dont WE have a professor like you. PLEASE SIR COME TO THE UNITED STATES!!!
@Sir-Ahmad-Khan
@Sir-Ahmad-Khan 3 жыл бұрын
I am from Pakistan and I am a self taught developer who got a Bachelor in Accounting and Finance, although I have learned a lot of statistics in my degree but we did not learn Computer Science so I really needed to learn that and after finding your course I am relived. Allah ap ko kush rakhay or ap ko is ka ajar day nai to kon ye cheezain free main batata hay.
@gameovertube481
@gameovertube481 Жыл бұрын
what are you doing now
@Nepeditz
@Nepeditz Жыл бұрын
Same
@AkashGond-n8f
@AkashGond-n8f 4 ай бұрын
Pakistan ke log padhte bhi hai kya ????
@nakshatranahar
@nakshatranahar 6 жыл бұрын
I MOSTLY SEE THAT MOST OF THE KZbinR DONT EVEN REPLY BUT YOU DID NICE JOB I REALLY APPRECIATE.
@SeekCoding
@SeekCoding 4 жыл бұрын
try this also #seekcoding
@alokmishra6571
@alokmishra6571 3 жыл бұрын
@@SeekCoding you are doing great. A bit more consistency can do wonders for you
@ritojaSen
@ritojaSen 3 жыл бұрын
Note for self: 0:00 - How to write an algorithm 2:00 - How to analyse an algorithm 5:35 - Time analysis 9:18 - Space analysis
@hsg15
@hsg15 2 жыл бұрын
Thanks
@Dawahsection
@Dawahsection Жыл бұрын
Thank you
@hasan135
@hasan135 6 жыл бұрын
The best algorithm course I have ever seen. Thanks for sharing.
@SeekCoding
@SeekCoding 4 жыл бұрын
try this also #seekcoding
@astergebretsadik9411
@astergebretsadik9411 4 жыл бұрын
I was searching for the best algorith course.I have stoped here and enagaged in the course.Thank you for the wonderful course.
@Abdullah-mg5zl
@Abdullah-mg5zl Жыл бұрын
*Key Takeaways:* - algorithms are written in pseudocode, as long as the intended audience can understand it, it's good enough - in pseudocode, you can use various conventions for assignment: "a = b", "a := b", and even "a
@user-oh8fo2eq7s
@user-oh8fo2eq7s Жыл бұрын
thanks for summarising it
@user-oh8fo2eq7s
@user-oh8fo2eq7s Жыл бұрын
hey, at 7:40 shouldn't there be 6 statements for total statements instead of 4?
@danny234ize
@danny234ize Жыл бұрын
Thank you
@saklalalala9429
@saklalalala9429 Жыл бұрын
Thanks bro
@Keven11-f3t
@Keven11-f3t 7 ай бұрын
Mast mast😊😊😊😊😊
@pesetmekyok4038
@pesetmekyok4038 3 жыл бұрын
Thank you professor.Greetings from TURKEY. I appreaciate you !
@bnhassni4548
@bnhassni4548 5 жыл бұрын
i liked the way you said " the space is constant again" at 9:35 anyway very Good teacher :)
@SeekCoding
@SeekCoding 4 жыл бұрын
try this also #seekcoding
@ilario.costantini
@ilario.costantini 3 жыл бұрын
This is the most underrated programming channel on youtube... Thank you!
@RaviKumar-jz4ri
@RaviKumar-jz4ri 3 жыл бұрын
My friends recommend you and when I see your first video I just get addicted to this playlist.
@rajeshsharmajaipur
@rajeshsharmajaipur 5 жыл бұрын
This is among the most underrated channel.
@rishabhvanwani
@rishabhvanwani 5 жыл бұрын
The REAL teacher for avg engg colleges in the world, thanks man!
@SeekCoding
@SeekCoding 4 жыл бұрын
try this also #seekcoding
@Ace233
@Ace233 Жыл бұрын
00:26 📝 When writing an algorithm, data types and variable declarations are not necessary; focus on understanding the logic and steps. 02:40 🕐 Time efficiency is a crucial criterion for algorithm analysis; it determines how quickly a procedure or algorithm produces results. 03:25 🚀 Space efficiency is another important criterion; analyze how much memory space an algorithm consumes during execution. 04:04 🔄 Data transfer and network consumption are significant considerations, especially in internet-based or cloud-based applications. 05:22 ⚙ Other criteria for analysis include power consumption, CPU usage, and specific project requirements, depending on the application. 06:57 🔄 Time complexity is evaluated based on the number of basic statements in an algorithm, each considered as one unit of time. 09:35 🧮 Space complexity is determined by the number of variables used; it's often represented as a constant, indicating the order of 1.
@abdulquddus3545
@abdulquddus3545 5 жыл бұрын
The best course I ever seen on youtube. Thank you so much sir G , I am really big fan of your very simple and easy to understand method.
@mohammadmotiurrahman6865
@mohammadmotiurrahman6865 11 ай бұрын
i have taken your course on udemy and now i am watching your KZbin lecture thnx you ❤❤
@karangupta6402
@karangupta6402 5 жыл бұрын
Just one word that describes Abdul sir is " AWESOME".
@adarshnaik5758
@adarshnaik5758 2 жыл бұрын
Thank you very much Sir. I wrote my exam more than my expectations from myself only because of you. Thank you very much.
@DiproPaul
@DiproPaul 3 жыл бұрын
Sir this is so satisfying. You know how to make someone understand easily. You are greatest in this topic with absolutely no doubt. Loved your full series. Thanks a lot. Respect+
@amitgupta3320
@amitgupta3320 6 жыл бұрын
You are the best of all the teachers available on you tube as your way of teaching is awesome and most importantly you understand what are the problems faced by the students and teach in the way to get rid of it.Thank you sir, thank you very much.
@erlendkvitrud3983
@erlendkvitrud3983 10 ай бұрын
Lecture 1.3 How Write and Analyze Algorithm What to analyze: -------------------------- Traditional: 1 Time - How much time does it take to run the alhorithms - we get a time function 2 Space - How much memory does the algorthm claim Others: 3 Network consumption - How much data transfere is done from a server/ cloud 4 Power consumption - importaint for mobile/tablet (eg. write memory operations require a lot of power) 5 CPU Registers Consumed - Time analysis: ---------------------- Assumed cost for single statements (simple, not nested): 1 unit of time e.g. algoritm Swap(a, b) { temp = a; // cost = 1 a = b; // cost = 1 b = temp; // cost = 1 } // total cost: f(n) = 3 f(n) does not vary as a function of a or b => constant time complexity O(1) Somewhat-nested statements (e.g. 5*a + 6*b) - For the sake of simplicity; assume cost = 1 unit of cost In principle we could translate everything into machine code to find the actual number of CPU operations - but in practice we generally care about order of magnitude, and so we dont. Space analysis: ------------------------ Assumed cost for variables (simple, not objects etc): 1 word (words instead of e.g. bytes, because we care about order of magnintude, not the exact number of bytes needed to store the variable) Eg for Swap: S(n) = len(a, b, temp) = 3 words S(n) does not vary as a function of a or b => constant memory complexity O(1)
@brickbuilder206
@brickbuilder206 5 жыл бұрын
very understandable and straight to the point, thank you for putting these out. watching from germany
@Swoolo
@Swoolo 3 ай бұрын
the best course on algorithm you can find over the internet, thank you so much for your efforts, sir!🥳
@khaledahmed8636
@khaledahmed8636 6 жыл бұрын
Your explanation is good me n my friends are satisfied.
@SeekCoding
@SeekCoding 4 жыл бұрын
try this also #seekcoding
@abdullas3640
@abdullas3640 3 жыл бұрын
Just started watching this series #feeling peace of mind #knowledge #superb explanation - bike and mars wala example was epic ...lots of love and respect .
@arc-naren-ane
@arc-naren-ane 5 жыл бұрын
I have just completed 9th class,aspiring to be a software developer in google.. Your course have helped me a lot sir..
@ashvinimeshram5242
@ashvinimeshram5242 3 жыл бұрын
Your way of explaination is just amazing. Luckily i found your channel. Really hats of to your work🙏🙏
@II_xD_II
@II_xD_II 4 жыл бұрын
after this playlist, I can understand mit cow :D thx sir for such a high quality content
@conan2003
@conan2003 3 жыл бұрын
I'm a newbie from Vietnam,I hope learn much of you
@aaronaaronaaron5922
@aaronaaronaaron5922 4 жыл бұрын
Simple and fresh like water. Thanks for you great explanation 😃
@daleprather3026
@daleprather3026 3 жыл бұрын
Fantastic explanations. Love your videos! It's interesting how you say for example "5 into a", which actually means a divided by 5, i.e. how many times does 5 go into a, when you're really taking about multiplication, 5 times a. Yes, I'm nitpicking. You give fantastic explanations. Thank you!
@manh9105
@manh9105 Жыл бұрын
In india - 5 into a is = 5xa . Learn to know the context of the person delivering the lecture before nitpicking
@snehagaikwad2655
@snehagaikwad2655 5 жыл бұрын
Thanks for sharing the videos for free! Very clear and precise explaination with good examples.
@RahulKumar-iy5xs
@RahulKumar-iy5xs 4 жыл бұрын
Sir, i have found your video very useful .. Your way of explanation make beginners to start and make there base.
@pavanmahadik4350
@pavanmahadik4350 4 жыл бұрын
Your teaching is the best Best wishes from Nepal...
@christopheraworh3097
@christopheraworh3097 2 жыл бұрын
I love your video sir...straight to the point, concise and clear
@lobzangyangchen0134
@lobzangyangchen0134 4 жыл бұрын
Thank u sir..... watching ur videos from ladakh during lockdown 2020
@webpulseify
@webpulseify 2 жыл бұрын
Thank you so much for sharing this course to us. it'll help us a lot :) 😁
@livingstonjeeva2219
@livingstonjeeva2219 5 жыл бұрын
Sir you're making it very easy...keep it up sir.....
@ramusesandasari8451
@ramusesandasari8451 5 жыл бұрын
What a tutorial. . One of best video across I found .
@harshgupta9761
@harshgupta9761 4 жыл бұрын
You should put KZbin add on right place. Add should be play between two topic not in between any topic as it suddenly break concentration during understanding topic. By the way you explain every topic in excellent way.
@_zoro
@_zoro 2 жыл бұрын
I tried gate smashers before this one and honestly i got smashed , thank you Abdul Sir for making this course interesting and understandable
@DipanshiGautam258
@DipanshiGautam258 6 жыл бұрын
Thank you for sharing your knowledge & teaching us. Sir 😊
@abhaychaubey3740
@abhaychaubey3740 4 жыл бұрын
sir as like algorithm your every word makes a clear sense towards topic thank you for fine lectures.
@Somyasoni0411
@Somyasoni0411 11 ай бұрын
00:03 Writing a program in a specific language requires declaration of data types and temporary variables. 01:26 Algorithms are procedures for solving problems. 02:40 The important criteria for analyzing algorithms are time efficiency and space consumption. 04:09 Network consumption, criteria for data transfer and power consumption are important factors to consider when developing algorithms or writing programs. 05:36 The time analysis is important in analyzing the project. 06:44 The time complexity of the given statement is considered to be constant 08:03 Analysis and planning are essential for successful missions 09:20 Space analysis result
@Bas-kz7vs
@Bas-kz7vs 4 жыл бұрын
big thanks to you prof, its much clear about algorithm
@abdallahlakkis449
@abdallahlakkis449 Жыл бұрын
Man your content is amazing. Thanks a lot honestly
@KrishnaPrasad-rv7vh
@KrishnaPrasad-rv7vh 3 жыл бұрын
We're glad to have you here. And, you're a life saviour.
@AkashGond-n8f
@AkashGond-n8f 4 ай бұрын
Sir aap padhte bahut accha hai but yahi topic ager hindi m hota to aur bhi acche se samjhe aata
@sozibrayhan1622
@sozibrayhan1622 2 жыл бұрын
Love from bangladesh
@funnyise5441
@funnyise5441 3 жыл бұрын
The way he explain owsm👌👌
@muditacreation
@muditacreation 3 жыл бұрын
Thank you so much sir for helping us out 😀
@sarvottamkumar2308
@sarvottamkumar2308 5 жыл бұрын
U r nice teacher...sir!
@salahuddin5981
@salahuddin5981 6 жыл бұрын
thank you so much sir بہترین وضاحت کے لئے آپ کا بہت شکریہ
@mirzaabrar572
@mirzaabrar572 3 жыл бұрын
thank you, sir, pleaser to see your class, I think you are a Bengali if you have enough time please start Chennail . manny of diploma engineering students can be benefited by your classes.
@demonking7496
@demonking7496 2 жыл бұрын
Thanks for explaining and i have clearly understood concept. 🤘
@haseebayaseen869
@haseebayaseen869 Жыл бұрын
Excellent Explaination Sir,Thank you so much
@vakhariyajay2224
@vakhariyajay2224 2 жыл бұрын
Thank you very much. You are a genius. 👍👍🙏🙏👌👌🔝🔝
@abdusalamyahya789
@abdusalamyahya789 5 жыл бұрын
Thank you so much ....iam watching you from Libya
@mayanksingh-fq6nb
@mayanksingh-fq6nb 5 жыл бұрын
sir the way are explaining the is just awesome....
@nirjanpakhira8483
@nirjanpakhira8483 4 жыл бұрын
long time drooling over the videos of mit. i discovered i had just learnt the terms not their meaning...
@abdurrashidsawom1629
@abdurrashidsawom1629 4 жыл бұрын
thanks, sir.... from Bangladesh
@Pioneer4
@Pioneer4 4 жыл бұрын
Nice work sir
@Sauravgpt34
@Sauravgpt34 5 жыл бұрын
In the book Narasimha Karumanchi (Data Structures and Algorithms Made Easy) in Page num: 17, section 1.9 How to Compare Algorithms, stated that Execution times is not a good measure as execution times are specific to particular computer, and also number of statements executed is also not a good measure, since the number of statement varies with the programming language as well as the style of the individual programmer. So Ideal solution is that to find function f(n) to compare.
@Sauravgpt34
@Sauravgpt34 5 жыл бұрын
@@abdul_bari You're so cute teacher I ever seen :)
@ganeshjaggineni4097
@ganeshjaggineni4097 2 жыл бұрын
NICE SUPER EXCELLENT MOTIVATED
@catocall7323
@catocall7323 Жыл бұрын
I think the use of word for space used comes from the hardware name for the size of a register. Different architectures will have a different n-byte basic registers but in any case that basic size will be referred to as a 'word'.
@trinetram707
@trinetram707 2 жыл бұрын
Great content sir please suggest me some books for data structures and algorithms
@MsBollyman
@MsBollyman 3 жыл бұрын
this is a great class. thank you. What is temp?
@snowey943
@snowey943 3 жыл бұрын
Watching from Kashmir
@phaneshravva7586
@phaneshravva7586 4 жыл бұрын
Liked your explanation sir
@eva42sh
@eva42sh 2 жыл бұрын
Thanks for making this playlist
@coreeye7611
@coreeye7611 4 жыл бұрын
Complete bliss
@suryams6016
@suryams6016 4 жыл бұрын
Sir space is only due to variables or will it increase if we increase number of functions and number of lines in the code as well?
@subramaniyanvg6367
@subramaniyanvg6367 4 жыл бұрын
Very nicely explained sir.
@hannahanna3036
@hannahanna3036 3 жыл бұрын
High respect sir , please do more :)
@devendravyas328
@devendravyas328 3 жыл бұрын
Thank you so much sir, great way of teaching .
@sairam332
@sairam332 5 жыл бұрын
Very well explained Sir. Thank you very much
@siddharthkumar2744
@siddharthkumar2744 10 ай бұрын
learning algorithm in 2024 , 5 april
@christianihechi
@christianihechi 6 ай бұрын
21st July! 😊
@imwh1te
@imwh1te 6 ай бұрын
29th 🎉
@小小詹
@小小詹 6 ай бұрын
@@imwh1te 8月9日
@kenkaneki480
@kenkaneki480 5 ай бұрын
12 Aur 2024
@okbabouchareb4001
@okbabouchareb4001 5 ай бұрын
16 August
@ITBootcampbyMissAzeemi
@ITBootcampbyMissAzeemi Жыл бұрын
Great explanation Allah bless uh
@Mu7ammad
@Mu7ammad 5 ай бұрын
THE GOAT
@أحمداشرففهميالنمر-خريج
@أحمداشرففهميالنمر-خريج 3 жыл бұрын
You are genius
@the_street_coder4433
@the_street_coder4433 3 жыл бұрын
Good Work Sir. Thank you.
@mohammedadel8948
@mohammedadel8948 2 жыл бұрын
Thank you for your efforts
@akashrajak-PhD
@akashrajak-PhD 6 жыл бұрын
Beautifully explained..
@amasha88
@amasha88 3 жыл бұрын
Thanks for the tutorial, Just I wish you used a dedicated mic to record your voice, the echo is annoying.
@mibo747
@mibo747 3 жыл бұрын
Nice lighting
@DevFTW
@DevFTW 3 жыл бұрын
More than perfect! Thank you.
@luckyismynickname
@luckyismynickname 5 жыл бұрын
Sir can you plz work on audio quality it is good but difficult to understand 😊
@sozibrayhan1622
@sozibrayhan1622 2 жыл бұрын
Great sir
@SmokyBigSmoke
@SmokyBigSmoke 4 жыл бұрын
Thank you so much sir. Really Grateful.
@rishabhcomputerclasses2487
@rishabhcomputerclasses2487 4 жыл бұрын
Great explanation... #rishabhcomputerclasses
@mehmoodrehman6336
@mehmoodrehman6336 6 жыл бұрын
brilliant way of teaching.
@raushananimesh8191
@raushananimesh8191 6 жыл бұрын
Awesome ideas to teach
@himakarle5236
@himakarle5236 2 жыл бұрын
Excellent 👌 sir
@gulnazsiddiqui4473
@gulnazsiddiqui4473 7 жыл бұрын
sir apki explain bhot ache hai lkin sir plz make your videos in hindi for this course and other becoz there are lot of teacher for english but a few teacher teach in hindi but not effective style and your work is very nice so i want and requsted to you
@AshutoshKumar-mv5um
@AshutoshKumar-mv5um 6 жыл бұрын
Gulnaz Siddiqui english seekh le.
@616_jyotidikshit2
@616_jyotidikshit2 3 жыл бұрын
U R BEST!
@narendraparmar1631
@narendraparmar1631 2 ай бұрын
Thanks sir😁
1.4 Frequency Count Method
12:22
Abdul Bari
Рет қаралды 1,2 МЛН
1.5.3 Time Complexity of While and if #3
21:54
Abdul Bari
Рет қаралды 1 МЛН
So Cute 🥰 who is better?
00:15
dednahype
Рет қаралды 19 МЛН
Chain Game Strong ⛓️
00:21
Anwar Jibawi
Рет қаралды 41 МЛН
“Don’t stop the chances.”
00:44
ISSEI / いっせい
Рет қаралды 62 МЛН
It works #beatbox #tiktok
00:34
BeatboxJCOP
Рет қаралды 41 МЛН
1.8.1 Asymptotic Notations Big Oh - Omega - Theta #1
15:46
Abdul Bari
Рет қаралды 2 МЛН
1.5.1 Time Complexity #1
10:08
Abdul Bari
Рет қаралды 2,5 МЛН
these are the habits of the top 1% students, that you can do.
12:58
AI Is Making You An Illiterate Programmer
27:22
ThePrimeTime
Рет қаралды 304 М.
Algorithms Explained for Beginners - How I Wish I Was Taught
17:38
Internet Made Coder
Рет қаралды 390 М.
2.8.1  QuickSort Algorithm
13:43
Abdul Bari
Рет қаралды 3,4 МЛН
1.5.2 Time Complexity Example #2
14:13
Abdul Bari
Рет қаралды 1,4 МЛН
The mind behind Linux | Linus Torvalds | TED
21:31
TED
Рет қаралды 6 МЛН
1.11 Best Worst and Average Case Analysis
18:56
Abdul Bari
Рет қаралды 864 М.
So Cute 🥰 who is better?
00:15
dednahype
Рет қаралды 19 МЛН