Blog

Insights, tutorials, and ideas...

All Posts

Array
1 MIN READ

Array

ArrayARRAY – Short Notes🔹 DefinitionAn array is a collection of similar data types stored in contiguous memory locations and accessed using an index.Example:in

Abhishek Singh Rajput
Abhishek SinghAuthor
#Binary Search:
4 MIN READ

#Binary Search:

Binary SearchIntuition:Binary search is an efficient algorithm to find a target value within a sorted array. It works on the idea of repeatedly dividing the sea

Abhijeet Singh Rajput Profile Photo
Abhijeet Singh RajputAuthor
Binary Search Tree
1 MIN READ

Binary Search Tree

Binary Search TreeA Binary Search Tree (BST) is a special type of binary tree.It can be empty, but if it’s not empty, it follows these rules:Each node contains

Ashutosh Kumar
Ashutosh KumarAuthor
Graph
1 MIN READ

Graph

GraphA Graph is a non-linear data structure that represents a set of nodes (vertices) and links (edges) between them.It is denoted as:where:V = set of verticesE

Divya Sachan
Divya SachanAuthor
Merge Sort
2 MIN READ

Merge Sort

Merge SortMerge Sort is a Divide and Conquer algorithm.Given an array a[1…N], merge sort works as follows:Divide the array into two equal halves.Recursively app

Ashutosh Kumar
Ashutosh KumarAuthor
Quick Sort
3 MIN READ

Quick Sort

Quick SortIt is a popular sorting method based on the divide-and-conquer approach. Unlike merge sort, where the division is always in the middle, in quicksort t

Abhijeet Singh Rajput Profile Photo
Abhijeet Singh RajputAuthor
HWI Practice
4 MIN READ

HWI Practice

HWI Practice1. Subarrays with Even Sum Starting with Odd NumberProblem: Find the number of subarrays with an even sum that start with an odd number.Approach: Pr

Abhijeet Singh Rajput Profile Photo
Abhijeet Singh RajputAuthor
Fenwick Tree
1 MIN READ

Fenwick Tree

FenWick TreeFenwick Tree, also known as Binary Indexed Tree, is a powerful data structure designed to efficiently handle prefix sums and updates in logarithmic

Abhishek Singh Rajput
Abhishek SinghAuthor
Decision Tree
6 MIN READ

Decision Tree

Decision TreeA decision tree is a tree-shaped diagram used to determine a course of action. Each branch of the tree represents a possible decision, occurrence,

Abhishek Singh Rajput
Abhishek SinghAuthor