← Paytm questions

Sum of dependencies in a graph & Array merge operations palindrome

Filed under Paytm

Given a directed graph, find the sum of dependencies (out-degree) for all nodes. Also, given an array, find the minimum number of merge operations (summing adjacent elements) to make the array a…

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Paytm questions

Collected from public candidate posts and coding forums. Updated Nov 2026.