Stop and Wait Protocol

In this article, we will take a look at the Stop and Wait protocol of a computer networking system. In order to understand the mechanism of this protocol, we will first have a brief understanding of the error control mechanism. The Stop and Wait Protocol is a sub-category of the error control mechanism. The error

Stop and Wait Protocol Read More »

Interpolation Search Algorithm – Time Complexity, Implementation in Java

In this article we will have a look at an interesting Searching Algorithm: Interpolation Search. We will also look at some examples and the implementation. Along with this we look at complexity analysis of the algorithm and its advantage over other searching algorithms. Interpolation Search is a modified or rather an improved variant of Binary

Interpolation Search Algorithm – Time Complexity, Implementation in Java Read More »

fgets() vs scanf() in C

In this article, we will take a look at two of the most basic functions used in the C language and subsequently, we will compare them on the basis of their usage. Both fgets and scanf functions are used to take basic user inputs in the program. The major difference between these two functions is

fgets() vs scanf() in C Read More »