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
Wiseman Umanahtechwhiz.hashnode.dev·Mar 11, 2024Big O Notation And Time ComplexityBig O is a notation used for describing the complexity(whether space or time complexity) of a program. This concept describes how much time it takes to run your function with respect to the size of the input to the function. In this lesson, we will f...Discuss#big o notation
Zack Langzacklang.hashnode.dev·Feb 19, 2024Selection Sort in Go: Beyond the BasicsSorting is fundamental to many operations in computer science. When it comes to sorting algorithms, there are many algorithms to choose from. While Selection sort may not boast top-tier efficiency, performance isn’t always a top-tier priority either....Discuss·30 readsmaster golang
Divyarajsinh Sindhavdevcraftsmen.hashnode.dev·Feb 11, 2024Largest Sum Subarray (Kadane's Algorithm)Welcome to the enlightening world of Kadane's algorithm! This powerful technique efficiently calculates the maximum sum of a contiguous subarray within an array of numbers, boasting a remarkable linear time complexity of O(n). Imagine a roller coaste...Discusskadane's algorithm
Rohit Yadavweb3devlopp.hashnode.dev·Feb 10, 2024Time complexityUnderstanding Time Complexity in Algorithms Time complexity is a critical concept in computer science and software engineering, playing a fundamental role in the analysis and design of algorithms. It provides a measure of the amount of time an algori...Discusstime complexity in java
Anthony-Ikpe Godspowereverytechway.hashnode.dev·Feb 6, 2024The tale of big-O: navigating the world of asymptotic notations in computer science.Once upon a time, in a world bustling with complex algorithms and data structures, there was a severe lack of a standard way of measuring and comparing their efficiency. Programmers in different parts of the world grappled with this challenge. Withou...Discuss#big o notation
Polkam Srinidhinidhiblog.hashnode.dev·Feb 1, 2024Learning DSA 2Day 2: Quick Analysis of Time Complexity and Time constraints, Hashing in JAVA The following image shows about the prediction of the Algorithms can be used based on the Time Constraints and that Mapping with the Time Complexity Analysis too. Hence, T...Discussbeginner
SAHIL ALIthestarsahil.hashnode.dev·Jan 31, 2024Space & Time Complexity VisualizationSpace ComplexityImagine you have a bookshelf that represents the memory used by your program. Each book on the shelf represents a variable in your program. Suppose there are only three variables: y, x, and i. So, there are only three books on the she...DiscussSpaceComplexity
Refatrefathex.hashnode.dev·Jan 27, 2024Solving Riddle of Code Efficiency: Understanding Time Complexity with ExamplesIntroduction: In the coding world, we often want to know how fast or slow our code is, especially when dealing with large amounts of data. Big-O notation is like a cheat sheet that helps us understand and compare the efficiency of different code solu...DiscussComplexity
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·26 readsdata structures and algorithms