Munir Abdullahimunirwrites.hashnode.dev·May 26, 2023Mastering the Basics: Understanding the Rules of Big-O NotationBig-O Notation is a very important concept in the field of computer science. With the knowledge of Big-O Notation, we can improve the performance and scalability of algorithms. An algorithm's growth rate can be managed as the input size increases. In...Discuss·3 likes·172 reads#big o notation
Brian Enos Otienobrianenosotieno.hashnode.dev·Mar 15, 2023Time Complexity AnalysisIntroduction Time complexity is a term used in computer science to describe the amount of time required by an algorithm or a program to execute, as a function of the input size. It is often measured in terms of the number of operations performed by t...Discuss·2 likes·237 readsData Structures & Algorithms#big o notation
Musab Habeebmusab19.hashnode.dev·Jan 23, 2023Time Complexity of Algorithms For BeginnersIntroduction Have you ever tried to send a file to a friend who lives far away from you before? How did you send it? You might decide to send it electronically via email or any social media platform or you decide to transport yourself to your friend...Discuss·1 like·48 readsGeneral Programming
Anusree Anilkumaranusree-anilkumar.hashnode.dev·Dec 20, 2022Big O in Data Structures and AlgorithmO(1) - constant (does not contain loops) O(log n) - searching operations O(n) - Linear, loops (for, while) O(n*log(n)) - Sorting operations O(n^2) - two nested loops O(2^n) - recursive algorithm O(n!) - Adding a loop for every element Rules: ...Discuss·42 readsdata structures
SIVARAMAN Asivayuvi79.hashnode.dev·Sep 27, 2022DSA -Analysiswe have some steps to construct an algorithms, In those steps analysis is the last one. But before start the Problem solving we need to study the analysis part very well then only we can see our algorithms works well or not. To find optimized code we...Discuss·1 like·41 readsDSA using PythonTime Complexity
Hazem Khairyhazemkh.hashnode.dev·Sep 21, 2022No, Big O notation is not equivalent to saying "worst case scenario"One may be tempted to believe that Big O is just a notation for the worst case analysis. After all, Big O is an "upper bound" notation. Isn't the upper bound equivalent to the worst case? For the sake of simplicity, let's assume our algorithms rely ...Discuss·1 like·185 readsalgorithms
JTKheyjtk.hashnode.dev·Sep 8, 2022Big O notation basics made dead simpleA brief conversation about big O To be honest with you, when I first got into programming I procrastinated learning Big O for quite a while out of intimidation, and this article is really for anyone out there who feels similar. I don’t know if it wil...Discuss·2 likes·81 readsalgorithms
Mbiakop Clintonmbiakopclinton.hashnode.dev·Aug 14, 2022The Complexity of an algorithmCalculating the complexity of an algorithm is a measure of its performance. There are two types of complexity: Spatial complexity: quantifies memory usage Time complexity: quantifies the speed of execution Temporal complexity The objective of a tem...Discussalgorithms
Shashwat Guptashashwat27.hashnode.dev·Aug 11, 2022The Mathematics of Computer Science!! Part I - Time ComplexityHey folks, as said in the introductory blog I will start a series on the mathematics involved in computer science, here is the first blog of the series on Time Complexity which many of you have heard or read about and some of you might be thinking th...Discuss·1 like·30 readsComputer Science
Prince Nwaonichaeachoneteachone.hashnode.dev·Jul 30, 2022DSA Series: The Big OSo to kick off this series of technical blogs I'm going to start with what I'm currently learning right now, which is Data Structures and Algorithms! To start off I'm going to talk about the basics of what you need to know before you get into DSA whi...Daniel Chibuogwu and 1 other are discussing this2 people are discussing thisDiscuss·10 likes·146 readsbig o