Day 25 of LeetCode Challenge
Problem 1: Longest Palindrome
Link to the problem: https://leetcode.com/problems/longest-palindrome/
class Solution {
public int longestPalindrome(String s) {
Map<Character, Integer> map = new HashMap<>();
for(char ch:s.toCharArr...
tusharpant.hashnode.dev2 min read