TikTok interview question

Red black tree insertion and deletion