Skip to main content

Algorithms language Chapter 2: Algorithm Complexity (Part-2)

 Chapter 2: Algorithm Complexity


Section 2.2: Comparison of the asymptotic notations


The asymptotic notations can be represented on a Venn diagram as follows:


Comments

Popular posts from this blog

HTML For Beginners The Easy Way: Start Learning HTML

HTML for Absolute Beginners  While many guides on the internet attempt to teach HTML using a lot of mind-boggling theory, this tutorial will instead focus on giving you the  practical skills to build your first site . The aim is to show you ‘how’ to create your first web page without spending the entire tutorial focusing too much on the “why.” By the end of this tutorial, you will have the  know-how to create a basic website  and we hope that this will inspire you to delve further into the world of HTML using our follow-on guides. What is HTML? Okay, so this is the only bit of mandatory theory. In order to begin to write HTML, it helps if you know what you are writing. HTML is the  language in which most websites are written . HTML is used to create pages and make them functional. The code used to make them visually appealing is known as CSS and we shall focus on this in a later tutorial. For now, we will focus on  teaching you how to build rather than desi...

Object-Oriented Programming (OOPS)

 Object-Oriented Programming (OOPS) OOPS stands for "Object-Oriented Programming" and is a programming paradigm that focuses on the creation and manipulation of objects. In object-oriented programming, software is organized around objects, which are instances of classes that encapsulate data and behavior. The main principles of object-oriented programming include: Encapsulation: Objects encapsulate data and behavior together, hiding the internal details and exposing a public interface for interacting with the object. Inheritance: Classes can inherit properties and methods from other classes, forming a hierarchy of classes. Inheritance allows for code reuse and the creation of specialized classes based on existing ones. Polymorphism: Polymorphism allows objects of different classes to be treated as objects of a common superclass. This enables the use of generic code that can operate on objects of different types, providing flexibility and extensibility. Abstraction: Abstractio...

Cascading Style Sheets (CSS) Programming Language

  CSS (Cascading Style Sheets) is a programming language used for styling and formatting the appearance of web pages. It works in conjunction with HTML to define the visual presentation of elements on a website. Here are some key points about CSS: Selectors: CSS uses selectors to target specific HTML elements and apply styles to them. Selectors can be based on element types, class names, IDs, attributes, or other criteria. Properties and Values: CSS properties define the visual aspects of elements, such as color, size, position, and font. Each property has a corresponding value that specifies how the property should be applied. For example, the color property sets the text color, and the value can be a named color or a hexadecimal code. Style Rules: CSS style rules consist of a selector and one or more property-value pairs enclosed in curly braces. Multiple style rules can be combined to target different elements or groups of elements on a page. External, Internal, and Inline CSS:...