A Simple C # program to find longest common subarray of two binary arrays with same sum
using System ; class GFG { static int [ ] arr1 = new int [ ] { 0 , 1 , 0 , 1 , 1 , 1 , 1 } ; static int [ ] arr2 = new int [ ] { 1 , 1 , 1 , 1 , 1 , 0 , 1 } ;