AND Maximum Spanning Tree You have a weighted undirected complete graph of $N$ nodes numbered from $0$ to $N-1$. The weight of... |
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... |