Articles for author: Priyabrata Biswas

What is Data Structures?

A data structure serves as a foundational framework for efficiently organizing and managing data within a computer system. It encompasses both the conceptual representation of data and its practical implementation in computer programs, ensuring that information can be accessed, manipulated, and utilized effectively. Why do we need to Learn Data Structures? Types of Data Structure ...

Why Learn Data Structures and Algorithms?

Data structures and algorithms form the backbone of computer science, enabling efficient problem-solving and optimization of software applications. Data structures organize and store data, while algorithms provide step-by-step procedures for solving computational problems. Together, they empower programmers to create efficient and scalable solutions, making them fundamental concepts for anyone delving into the world of programming and ...

Floyd Warshall Algorithm

Floyd Warshall algorithm is used to find the shortest path between all vertices in the weighted graph. This algorithm works with both directed and undirected graphs but it does not work along with the graph with negative cycles. Takeaways Introduction of Floyd Warshall Algorithm If you’re looking for an algorithm for scenarios like finding the shortest ...

Euclidean Algorithm [Basic and Extended]

The Euclidean algorithm provides a method for determining the greatest common divisor (GCD) of two positive integers. The GCD represents the largest integer that divides both numbers without leaving a remainder. Rather than relying on factorization, the Euclidean algorithm computes the GCD through a series of efficient mathematical operations. Basic Euclidean Algorithm for GCD The ...