Amazon Interview Question

Find the same sum interval in two Binary arrays:
Given two binary arrays A and B of same size N. Find an interval (i, j)(inclusive) such that sum of elements of A and sum of all elements of B in this interval is same.

Comments

Popular posts from this blog

C Graph implementation with adjacency list representation using structures: Data Structure Tutorial 1

Interview Of An Indian Top Coder : Rudradev Basak

Roadies X Winner is Palak Johal!!