def max_subarray_sum(arr): max_sum = float('-inf') current_sum = 0

print(first_non_repeating_char("aabbc")) # Output: "c"

Example: Input - 1 -> 2 -> 3 -> 4 -> 5, Output - 3

Given a string, check if it's a palindrome or not.

print(is_palindrome("madam")) # Output: True

Back To Top