/* This is a verifyThis problem in 2012. This task asks you to get the longest common prefix of two subStrings. Input: an integer array arr, the length of the array, and two indices x and y. */ #include #include $input int n=3; $input int x; $input int y; $input int X1[n]; $assume (x < n && y < n && x >=0 && y>=0); int lcp(int *arr, int n, int x, int y){ int l=0; while (x+l=0 && i