Longest Even-Sum Subsequence
Asked at Amazon · Coding Questions · Difficulty: Easy
Given a positive integer array, return the length of the longest subsequence whose element sum is even.
Loading the problem…
Asked at Amazon · Coding Questions · Difficulty: Easy
Given a positive integer array, return the length of the longest subsequence whose element sum is even.
Loading the problem…