LeetCode 1771 Maximize Palindrome Length From Subsequences | Weekly Contest 229 | C++

preview_player
Показать описание
It is a difficult problem, to ensure that you are taking characters from both the string.

1 Like = Motivation
1 Subscribe = more Motivation

Thanks for watching friends.

Connect with me at
Рекомендации по теме
Комментарии
Автор

Ooh god, finally youtube tutorials are better than leetcode discussions..
I wasted 3 4 hours understanding that small variation part and finally I understood it from here..

Really appreciate it!

momozkichutney
Автор

Short and precise videos, You made every question so easy. Thank you so much.

VIJAYKUMAR-tnkr
Автор

Why I am getting TLE, if I don't pass the address of s -> string s in lps parameter. Instead of string &s. Is passing the address also reduce the time?

vijayak
Автор

I guess leetcode has some bugs.. exactly same code gives me TLE.. What to do?

ekanshsharma