Problems by Aashiq

AND Maximum Spanning Tree
You have a weighted undirected complete graph of $N$ nodes numbered from $0$ to $N-1$. The weight of...
Moderate 13/14/36
Choco Fun
You brought C chocolates to a party where there are A adults and K kids. You know that an adult will...
Dancing Tuples
Given an array $A$ of size $n$, find how many tuple $(i, j, k)$ are there such that $1 ≤ i < j < k ≤...
Fair Share
Alice and Bob are playing a game on an array A of N integers. The game lasts for K rounds. Each roun...
Moderate 14/22/120
Toph uses cookies. By continuing you agree to our Cookie Policy.