Coding Round- Q.1 - From the given array and an integer k .Find the number of element i n the array which has their last digit as k ? Q.2 Find the maximum sum of the four continuous elements(left,right,up,down and both diagonally also) in the array?
Sigiloso
import java.io.*; class GFG { public static void main (String[] args) { int a[]={11,22,7,3,53,2,17,333,13}; int k=3; int count=0; for(int i=0; i