#Day 5 of Solving 450 questions[18/450]
Kishore kunal
Posted on March 24, 2022
📅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!
💖 💪 🙅 🚩
Kishore kunal
Posted on March 24, 2022
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.