Riyaz Nabiyullariyaz-blog.hashnode.dev·Jul 15, 2024Data Structures - Java: Syntax, Use Case, Time and Space Complexity1. Arrays Syntax: // Declaration and initialization int[] array = new int[10]; int[] array = {1, 2, 3, 4, 5}; // Accessing elements int element = array[0]; // Modifying elements array[1] = 10; Use Cases: Fixed-size collections, fast access by inde...DiscussDSA-Javadata structures

Md Nadim Anwarnadim.in·Jul 14, 2024What Is Big O Notation? A Beginner's ExplanationBig O notation is a mathematical concept used to describe an algorithm's performance or complexity. It shows how the runtime or space needs of an algorithm increase as the input size grow. If the pace of an algorithm is not known, it will be difficul...DiscussData Structures and Algorithms (DSA)#BigONotation

Ramachandra Anirudh Vemulapallinetworknomad.hashnode.dev·Jul 6, 2024Algorithms and Analysis of AlgorithmsAn Algorithm is a set of instructions to perform a task or to solve a given problem. For example, a recipe book is a collection of recipe in which each recipe provides a step by step instruction to prepare food. Let's say you want to prepare a tea. S...Discussalgorithms

Nile Bitsnilebits.hashnode.dev·Jun 28, 2024Sorting Algorithms: Mastering the Fundamentals in JavaScriptAn essential idea in software engineering and computer science is sorting algorithms. They are necessary to enable effective searching, retrieval, and data manipulation as well as meaningful data organization. Any developer that works with JavaScript...DiscussJavaScript

Gift Ayodeledevgifttemitope.hashnode.dev·Jun 5, 2024Space and Time ComplexityIntroduction Space and time complexity define the effectiveness of an algorithm. While there are multiple ways to solve a problem in programming, understanding how an algorithm works efficiently can significantly enhance our programming approach. Eva...Discuss·100 readsSpace Complexity

Rishabh Kumardevrishabh.hashnode.dev·Jun 1, 2024Time and Space Complexity Explained SimplyUnderstanding time and space complexity is fundamental in analyzing the efficiency of algorithms. Below we will explore the concepts of time and space complexity, their common notations, and provide examples in C++ to illustrate these concepts. Why d...DiscussTime Complexity

Himanshu Bhartihimanshubharti.hashnode.dev·Apr 1, 2024What are Algorithms ? Meaning of Time and Space Complexity of algorithms ?What are Algorithms ? Algorithms are step-by-step process or a set of rules designed to solve a specific problem or perform a particular task. Algorithms provides a systematic approach to problem-solving by defining a sequence of instructions that,...Discuss·1 like·31 readsalgorithms

Adityaascendantaditya.hashnode.dev·Jan 24, 2024Roadmap for Mastering Data Structures and Algorithms (DSA)Data Structures are the building blocks of any program. Here's a suggested order to learn them: Data Structures to Practice: 1. Arrays and Strings Find the maximum sum of a subarray: https://leetcode.com/problems/maximum-subarray/ Reverse a string:...Discuss·48 readsdata structures and algorithms

Jayant Dhakajdjava.hashnode.dev·Dec 15, 2023What the f*ck is Time and Space Complexity ???So, if you're from a tech background or you've mistakenly tried to solve coding problems on platforms like LeetCode, CodeChef, etc. (actually, I only know these two, so you know, just using etc.), then you might have had an encounter with the above t...Discuss·7 likesTime Complexity

Henry Kabasacangravity.hashnode.dev·Nov 19, 2023Gravity and aeroplanesCan gravity be defied? This writing on the Kenya Airport Authority bus "where we defy gravity." Really perturbed my mind. Nevertheless, really, can gravity be defied? If yes, do airplanes defy gravity? How? These disturbing thoughts led me to conduct...Discuss·2 likesSpace Complexity