Colin J Lacycolinj.hashnode.dev·14 hours agoBetter Memory Management in Golang for Lookups Against a Static Data SetWhen you want to check a value against a list of stored values, there are several ways to do it. One way, which is not very performant, is to loop through a slice of values: needle := "three" haystack := []string{ "one", "two", "three" } found := fal...Discussgolang

Anthony Bosekdeveloperant.hashnode.dev·Nov 8, 2023Fundamental Data Structures: Linked ListsLinked lists are a fundamental data structure used in many algorithms and applications. In this Python tutorial, we will go over how to implement a basic linked list and some common operations associated with them. This blog covers a few abstract con...Discuss·35 readslinked list

Ibrahim Sifatibrahimsifat.hashnode.dev·Oct 17, 2023Understand Time and Space Complexities: Beginner's GuideHey friend! Think of understanding time and space complexities like figuring out the best way to organize your closet. I'm here to help you keep it simple and neat in the coding world. So, grab your coding hangers, and let's make things straightforwa...Discuss#big o notation

Daniel Ayeniblog.danthesage.com·Oct 13, 2023A Quick Overview of Big O NotationBig O notation is a fundamental concept in programming and algorithm analysis. It helps to express the efficiency and performance of algorithms. In this context, an algorithm means the number of simple operations or steps the computer takes to accomp...Discuss#big o notation

zhioua mohamedmohamedzhioua.hashnode.dev·Sep 30, 2023Time Complexity and Big O Notation in JavaScriptTable of Contents Introduction Big O Notation Constant Time Complexity: O(1) Linear Time Complexity: O(n) Logarithmic Time Complexity: O(log n) Quadratic Time Complexity: O(n^2) Exponential Time Complexity: O(2^n) Factorial Time Complexity: O...Discuss·45 readsJavaScript#big o notation

Kishor Kunaldevsavant.hashnode.dev·Sep 16, 2023Simplified Guide to Big O Notation: Making Algorithms Easier to UnderstandWelcome to the world of algorithm efficiency, where we explore "Big O Notation." If you've ever wondered how computer scientists measure algorithm performance or why some code runs faster than others, you're in the right place. In this blog post, we'...Discuss#big o notation

Hiroki Katohirokato.hashnode.dev·Sep 8, 2023Big O for BeginnersLet’s cut to the chase—a lot of the interest and initial motivation around learning Big O stems from its prevalence in technical interviews. Employers want to confirm that prospective employees understand the main concepts of Big O because the notat...Discuss·27 reads#big o notation

Sean Coughlinblog.seancoughlin.me·Sep 7, 2023How to validate a Sudoku boardThe Problem With this article, I will be covering the valid sudoku Leetcode problem. Leetcode describes the problem with the following: Determine if a 9 x 9 Sudoku board is valid. Only the filled cells need to be validated according to the following...Discuss·73 readsSWE Interview Preparationleetcode

Harlimatleemah.hashnode.dev·Sep 5, 2023Understanding Big O Notation: A Guide to Algorithm EfficiencyIntroduction In the world of computer science and programming, efficiency is paramount. The efficiency of an algorithm determines how quickly it can solve a problem and how well it can handle larger input sizes. One of the most important tools for an...Discuss·10 likes·69 reads#big o notation

Keerti Singhprepcodeblog.hashnode.dev·Sep 5, 2023Exploring Algorithms: A Beginner's GuideIntroduction: Do you ever wonder how computers do things? They follow special sets of instructions called algorithms. Don't let the big word scare you! In this blog, we'll talk about what algorithms are, why they're important, and how they help you m...Discussalgorithms