TCS interview question

Technical: Python & C++ mostly. focus on these