TikTok Interview Question

Leetcode Questions: Q. In a 2D matrix, find the minimum sum when going from top left to the bottom right and only taking steps right or down. Q. Find the length of the longest path (between any two nodes) in a binary tree. ML Questions: Q. How does SVM work? Q. How does BERT/Transformer work? Q. What to do if the length of the sentence is greater than BERT limit? Q. How does momentum work in gradient descent? Q. How is RoBERTa different from BERT?