1143. Longest Common Subsequence - Day 15/31 Leetcode December Challenge

preview_player
Показать описание
Larry solves and analyzes this Leetcode problem as both an interviewer and an interviewee. This is a live recording of a real engineer solving a problem live - no cuts or edits!

#leetcode #coding #programming
Рекомендации по теме
Комментарии
Автор

why do you use 2 lists for caching?
can't we just go with one?

if cache[index1][index2]: return cache[index1][index2]

rosendo