text: Java implementation to find the number of Subsequences with Even and Odd Sum
code: import java . util . * ; import java . lang . * ; class GFG { public static int [ ] countSum ( int arr [ ] , int n ) { int result = 0 ;