Tcs Coding Questions 2021 «Verified Source»

def count_pairs_with_sum(arr, target_sum): count = 0 seen = set()

print(is_palindrome("madam")) # Output: True Tcs Coding Questions 2021

Given an array of integers, find the maximum sum of a subarray. def count_pairs_with_sum(arr, target_sum): count = 0 seen =

return slow.data

def is_palindrome(s): return s == s[::-1] Tcs Coding Questions 2021