Netradyne Interview Question

Easy 2 DSA questions valid anagram and balanced parantheses