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.


Popular posts from this blog

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

Accessing DynamoDB from Spring Java application - Walkthrough tutorial

Interview with ACRush (Tiancheng Lou), the coding sensation!