Tcs Coding Questions - 2021 _hot_

| Q.No | Problem Statement | Difficulty | |------|------------------|------------| | 1 | Find if a number is a palindrome | Easy | | 2 | Count vowels in a string | Easy | | 3 | Find second largest element in array | Medium | | 4 | Print Floyd’s triangle | Easy | | 5 | Sum of digits until single digit | Medium | | 6 | Check if two strings are rotations of each other | Medium | | 7 | Find leaders in array (elements greater than all elements to right) | Medium |

Candidates typically had 30-45 minutes for the coding section (sometimes included within the overall NQT duration). Tcs Coding Questions 2021

The TCS National Qualifier Test (NQT) is a crucial step for placement. In 2021, the coding section generally consisted of to be solved in 45 minutes . Medium Marks: 15 Given a number N, reduce

Medium Marks: 15

Given a number N, reduce it by computing the sum of its digits until a single-digit number is obtained. Check if this single digit is '1' (UNO) or not. (Order: T1_R1, T2_R1, T3_R1, T1_R2, T2_R2, T3_R2

Comprehensive Guide to TCS Coding Questions 2021: Topics, Patterns, and Solutions

9 integers representing oxygen levels of Trainee 1, Trainee 2, and Trainee 3 respectively across 3 rounds. (Order: T1_R1, T2_R1, T3_R1, T1_R2, T2_R2, T3_R2...) Sample Input: 95 92 95 92 90 92 90 92 90 Sample Output: Trainee 1 Trainee 3 🛠️ Python Solution