SPOJ - ABCPATH Posted on June 3, 2020 This is a simple $2d$ Graph Traversal Problem. We can use multi-source BFS or DFS. [Read More] Tags: SPOJ
UVa 441 - Lotto Posted on May 31, 2020 This is a nice complete search problem. This problem asks us to print all size $6$ combinations of a subset whose size is $k$ and... [Read More] Tags: UVa
UVa 401 - Palindromes Posted on May 30, 2020 Pretty straightforward problem. But I made one small mistake when checking for mirrored strings. [Read More] Tags: UVa
How to reverse an array Posted on May 29, 2020 You can reverse an array both iteratively and recursively in $\mathcal{O}(n)$ time with $\mathcal{O}(1)$ space. [Read More] Tags: C++
UVa 1753 - Need For Speed Posted on May 27, 2020 An interesting binary search problem. This problem appeared in the ACM ICPC World Finals 2017. [Read More] Tags: UVa