KIMATHI VICTORvictormkimathi.hashnode.dev·13 hours agoData Structures and Algorithms: A Beginner's GuideAlgorithms According to Donald Knuth, a renowned computer scientist and mathematician, an algorithm is a Definite, Effective, and Finite Process that receives input and produces output. Let's delve deeper into these terms: Definite: Meaning the step...Discussalgorithms

Hiikehiike.hashnode.dev·a day agoBig O Notation: A Practical Guide for BeginnersUnderstanding the efficiency of algorithms is crucial for software developers, and Big O notation is the standard mathematical language used to describe the performance of algorithms. This guide will break down the basics of Big O notation, provide p...Discusshiike

Fumbani Bandafumbani.hashnode.dev·Jun 16, 2024Network Modelling Tool in Python: Part 2In part 1 of this series, we managed to load the load CSV file of the network into a suitable data structure, an adjacent matrix. In this second part, we'd like to create tests for what we have worked on. Test-driven development is important because ...DiscussPython

Fumbani Bandafumbani.hashnode.dev·Jun 16, 2024Network Modelling Tool in Python: Part 1In January this year, I came across a coding challenge by John Cricket to build a network modeling tool. The challenge aims to create a tool that loads a network described in a CSV file and some traffic data, then models the traffic flowing over the ...DiscussPython 3

Mahbub Alam Masumblog.masum.dev·Jun 15, 2024How to Move Zeros to the End of an ArrayMoving zeros to the end of an array while maintaining the order of non-zero elements is a common problem in programming. In this article, we'll discuss two approaches to achieve this: one using a temporary array and another using a two-pointers techn...DiscussArrayDSA

Mahbub Alam Masumblog.masum.dev·Jun 15, 2024How to Right Rotate an Array by D PositionsRight rotating an array involves shifting the elements of the array to the right by a specified number of places. In this article, we'll discuss two efficient methods to achieve this rotation. Solution 1: Brute Force Approach (using a Temp Array) Thi...DiscussDSA

Mahbub Alam Masumblog.masum.dev·Jun 15, 2024How to Left Rotate an Array by D PositionsLeft rotating an array involves shifting the elements of the array to the left by a specified number of places. In this article, we'll discuss two efficient methods to achieve this rotation. Solution 1: Brute Force Approach (using a Temp Array) This ...DiscussArrayDSA

Bhavesh Nandavebhaveshnandave.hashnode.dev·Jun 14, 2024Shallow Copy & Deep Copy in JavascriptTom and Jerry are best friends. They have a big math exam coming up. Tom studied hard and is ready, but Jerry didn't study and decides to copy Tom's answers. Shallow Copy: A Quick Cheat Scenario: During the exam,Jerry copies Tom’s answers and also ...DiscussReference vs. Value

mehedi imunmehediimun.hashnode.dev·Jun 13, 2024Time Complexity in JavaScriptWhat is Time Complexity? Time complexity is a way to describe how the time it takes for an algorithm to run changes as the size of the input changes. Think of it like this: if you have to sort a list of numbers, the time complexity helps you understa...DiscussWhen Do We Use Time Complexity?

Stephen Campbellsdcampbell.hashnode.dev·Jun 13, 2024Building and Managing Your Database with SQLWhen working with SQL, it’s crucial to understand how to both build and manipulate tables. This knowledge allows you to effectively manage your data, ensuring it stays clean, up-to-date and relevant. In this post, we’ll cover the basics of four essen...DiscussPostgreSQL