Commit Graph

3 Commits

Author SHA1 Message Date
David Leal
4f4585d4c1
docs: improve longest_palindromic_subsequence.cpp (#2467) 2023-05-19 19:22:54 -06:00
Piotr Idzik
4fc14710b6
fix: segv in longest_palindromic_subsequence.cpp (#2461)
* fix: initialise properly res, set properly size of ans

* test: add check with empty input

* style: use const reference as input type

* refactor: add ind_type

* style: use reverse interators to b

* style: use auto in definition of idx

* updating DIRECTORY.md

* style: clean-up includes

* style: use std::string::size_type in definition of ind_type

---------

Co-authored-by: github-actions[bot] <github-actions@users.noreply.github.com>
Co-authored-by: David Leal <halfpacho@gmail.com>
2023-05-18 11:26:06 -06:00
anjali1903
ade6010d11
feat: add longest palindromic subsequence algorithm (#1185)
* feat: add longest palindromic subsequence algorithm

* feat: add longest palindromic subsequence algorithm

* feat: add longest palindromic subsequence algorithm

* feat: add longest palindromic subsequence algorithm
2021-02-05 15:16:06 +05:30