Since, most of the memoized solution to problems like LPS fails in leetcode. Is it advisable to not use it during OAs in other platforms as well? Or it is the issue with LC only? Kindly share your thoughts.