Articles for author: Hinal Vithlani

String in Data Structure

A string is generally considered as a data type and is often implemented as an array data structure of bytes (or words) that stores a sequence of elements, typically characters, using some character encoding. Scope Takeaways Library Functions Introduction A String is seen anywhere and everywhere. Right from when you login onto your device, you ...

Priority Queue in Data Structure

What is Priority Queue? A priority queue serves as a specialized data structure where elements are organized based on their priority values, ensuring that higher-priority items are processed before lower-priority ones. This organization enables efficient retrieval of the most critical elements. Various implementations, such as arrays, linked lists, heaps, or binary search trees, offer different ...

Hinal Vithlani

Layers of OSI Model

The OSI model stands for Open Systems Interconnection model. The OSI model is also known as the ISO-OSI model as it was developed by ISO (International Organization for Standardization). It is a conceptual reference model that describes the entire flow of information from one computer to the other computer. The OSI model is a 7-layered model, so it ...

Merge Sort Algorithm

Merge Sort algorithm is a Divide and Conquer algorithm. It divides the input array into two halves, calls itself for the two halves, and then merges the two sorted halves. Merge Sort algorithm is one of the most respected sorting algorithms, with a worst-case time complexity of O(nlogn). Merge sort works by dividing the array repeatedly to ...