TikTok interview question

leetcode hard maximum increasing subsequence in 2d matrix write logistic regression weights update