ServiceNow Interview Question

1. Find the max sub array sum 2. maximum length of substring it should be in alphabetical order return count

Interview Answer

Anonymous

Oct 10, 2023

use the optimal approach longest subarray sum . for the second one used tier data structure with linkedlist