Coding Questions 2021 ((new)) — Tcs

Source: Technoname DCA Solutions (30 Sept 2021)

TCS coding questions in 2021 focused on rather than advanced algorithms. If you can solve string manipulations, basic array problems, and number series, you can easily clear the coding section. Practice consistently on platforms like TCS iON , CodeChef , or HackerRank under timed conditions.

Array: [1, 5, 7, -1, 5], sum=6 → Output: 3 pairs → (1,5), (1,5), (7,-1) Tcs Coding Questions 2021

If all trainees have an average below 70, print "All trainees are unfit". Accept 9 inputs (3 rounds for 3 trainees).

TCS (Tata Consultancy Services) conducts the for hiring freshers. The coding section in 2021 was a critical part of the exam, testing problem-solving and logic building. This article covers the pattern, frequently asked questions, and detailed solutions. Source: Technoname DCA Solutions (30 Sept 2021) TCS

Given a string, find the first non-repeating character in it.

First line: N Second line: N integers.

2

| Question Type | Marks | |---------------|-------| | Easy (array reversal, pattern) | 15–25 marks | | Medium (Kaprekar, anagrams) | 25–40 marks | | Partial (some test cases pass) | Proportional marks | Array: [1, 5, 7, -1, 5], sum=6 →

Scroll to Top