Fraction Knapsack
Fractional KnapsackIn the fractional knapsack problem, we have eight items of known values and weights. The capacity of the knapsack is also given. The objectiv

Insights, tutorials, and ideas...
Fractional KnapsackIn the fractional knapsack problem, we have eight items of known values and weights. The capacity of the knapsack is also given. The objectiv

Dynamic Programming & 0/1 KnapsackDynamic programming is used to solve the optimisation problem.Dynamic programming divides the given original problem into


Gaussian Mixture Model (GMM)A Gaussian Mixture Model is a probabilistic clustering method that assumes data points are generated from a mixture of multiple Gaus

Spectral Clustering16 Oct 2025Spectral Clustering is a graph-based clustering technique that uses the eigenvalues and eigenvectors of the graph Laplacian to fin


MiniMax Using Divide & ConquerIdeaMiniMax is a decision-making algorithm used in adversarial search (like games).Using divide and conquer, we recursively sp


All Pairs Shortest Path (Floyd-Warshall Algorithm)IntroductionFor a given connected weighted graph , the All Pairs Shortest Path (APSP) problem aims to find the

DAA Assignment 1Compare the growth of the functions and lett(n) = g(n) = This is an form, so apply L'Hopital's RuleApply L hopital Ruledifferentiate the numer

Compare the growth of two functions0 implies has smaller order of growth than c implies has same order of growth as implies has larger order of growth than


Manacher's Algorithm (hard)Manacher’s Algorithm finds the longest palindromic substring in linear time by reusing previously computed palindrome information. In

Quantitative Aptitude – Objective Questions1. Number System and FactorialsFind the number of zeroes at the end of 250! (a) 35 (b) 22 (c) 62 (d) 24What is the re

Loss Functions:Loss functions help, how a machine learning model is performing with its given data, and how well it's able to predict an expected outcome. Many


ClusteringClustering is the task of grouping a set of objects in such a way that objects in the same group (called a cluster) are more similar to each other tha
