📅Day 5 : March 24,2022
Problems solved today :
Median of Two Sorted Arrays
[valid-palindrome](https://leetcode.com/problems/valid-palindrome/submissions/
Intersection of Three Sorted Arrays
Things I learned Today:
Apparently, Regex cant be used to determine a palindrome according the Computational Theory(Stack overflow) or can it?
(1)https://leetcode.com/problems/valid-palindrome/discuss/1879713/Isalnum() --->Many ways to do it, but this is cooler.
(2) For last question ,be it easy, we needed to find an optimal soultion:
a)XOR operation is one way.
(b)Making Dictionary and Counting frequencies
Much Faster than traversing through 3 loops!
Top comments (0)