TCS CodeVita Previous Year Questions and Answers

TCS CodeVita Previous Year Questions

TCS CodeVita Previous Year Questions and Answers are given here for the practicing purpose of the participants. Every year before the start of the competition, TCS CodeVita gives a set of sample questions to let the students anticipate the difficult level and pattern of the competition before the exam. TCS TCS CodeVita Season 12 is conducted in three rounds.

  • Round 1 Zone 1 – 29th & 30th November 2024
  • Round 1 Zone 2- 8th- 9th December 2024
  • Round 2 (Qualifier) – 10th & 11th January 2025
  • Final Round – Not yet Announced
  • Grand Finale Ceremony – Not yet Announced

If you solve all 6 TCS Codevita Coding questions then, the winners of the competition get a recruitment offer from TCS and a whooping prize money of 20,000 US$, and many other benefits.

TCS CodeVita 2025 (Round 1 : Pre-Qualifier)

  • This round has been divided into 2 sub-rounds i.e.,
    •  Round 1 Zone 1
    • Round 1 Zone 2
  • This is the first round of the competition. In this round the participants have to solve 6 questions within a time-limit of 6 hours. The difficulty level of this round is lowest with comparison to other round of the competition.
  • It is not compulsory for the participants to solve all the questions. There may be a case that you may proceed to the next round, even if you have solved half of the questions.

TCS CodeVita 2025 (Round 2 : Qualifier)

  •  This is the second round of the competition. In this round the participants have to solve 8 questions but the difficulty level of this round is pretty high than the previous one. If you clear this round, than you can surely get a job in TCS if you want so, and that too at a pretty good package

TCS CodeVita 2025 (Round 3 : Final Round)

  •  This is a new Round introduced by TCS Codevita this year, it is an additional round to get the top 3 finalist of the tournament. These 3 students will be awarded in the next round with is Grand Finale Ceremony.

TCS CodeVita 2025 (Round 4 : Grand Finale Ceremony)

  •  This is the final round of the competition. And being so, it is the most difficult round too. The previous two rounds are online rounds, but this round takes place at a particular venue decided by TCS.
  • In this round the participants have to solve 10 questions.
  • Clearing this round will give you a pleasing cash price, and a delightful job offer in TCS.
  • It is not that easy to reach upto this round. According to previous year stats, there were more than 200k participants, but only 25 reached up to this round.
  • The finalists stand a chance to travel** to India for the Season 10 LIVE Grand Finale experience.

TCS CodeVita Season 12 Previous Year Practice Questions :-

Good String

Solution

  • Difficulty Level –  ★ ★ ★ ★
  • Importance – Medium
  • Asked in – TCS Codevita 2024, Zone 1

Zero Count

Solution

  • Difficulty Level –  ★ ★ ★ ★ ★
  • Importance – Hard
  • Asked in – TCS Codevita 2024, Zone1

String from Rank

Solution

  • Difficulty Level –  ★ ★ ★ ★ ★
  • Importance – Hard
  • Asked in – TCS Codevita 2024, Zone1

Online Shopping

Solution

  • Difficulty Level –  ★ ★ ★ ★
  • Importance – Medium
  • Asked in – TCS Codevita 2024, Zone1

SuperMarket

Solution

  • Difficulty Level –  ★ ★ ★ ★ ★
  • Importance – Hard
  • Asked in – TCS Codevita 2024, Zone1

Antikythera Mechanism

Solution

  • Difficulty Level –  ★ ★ ★ ★ ★
  • Importance – Hard
  • Asked in – TCS Codevita 2024, Zone 1

WebPages

Solution

  • Difficulty Level –  ★ ★ ★ ★ ★
  • Importance – Hard
  • Asked in – TCS Codevita 2024, Mocktest

Mario

Solution

  • Difficulty Level –  ★ ★ ★ ★ ★
  • Importance – Hard
  • Asked in – TCS Codevita 2024, Mocktest

Primevilla

Solution

  • Difficulty Level –  ★ ★ ★ ★ ★
  • Importance – Hard
  • Asked in – TCS Codevita 2024, Mocktest

HelpMLA

Solution

  • Difficulty Level –  ★ ★ ★ ★ ★
  • Importance – Hard
  • Asked in – TCS Codevita 2024, Mocktest

SnakeAnd

Priest

Solution

  • Difficulty Level –  ★ ★ ★ ★ ★
  • Importance – Hard
  • Asked in – TCS Codevita 2024, Mocktest

IPLMINUS

TWO

Solution

  • Difficulty Level –  ★ ★ ★ ★ ★
  • Importance – Hard
  • Asked in – TCS Codevita 2024, Mocktest

Prime

Construction

Solution

  • Difficulty Level –  ★ ★
  • Importance – Easy
  • Asked in – TCS Codevita 2024, Mocktest

Snake And

Ladder

Solution

  • Difficulty Level –  ★ ★ ★ ★ ★
  • Importance – Hard
  • Asked in – TCS Codevita 2024, Mocktest

Jugs And Cups

Solution

  • Difficulty Level –  ★ ★ ★
  • Importance – Medium
  • Asked in – TCS Codevita 2024, Mocktest

Worker

Solution

  • Difficulty Level –  ★ ★ ★
  • Importance – Easy
  • Asked in – TCS Codevita 2024, Mocktest

CollegeRankIII

Solution

  • Difficulty Level –  ★ ★ ★ ★
  • Importance – Medium
  • Asked in – TCS Codevita 2024, Mocktest

The Relationship

Solution

  • Difficulty Level –  ★ ★ ★ ★
  • Importance – Hard
  • Asked in – TCS Codevita 2024, Mocktest

Civil War

Solution

  • Difficulty Level –  ★ ★ ★
  • Importance – Easy
  • Asked in – TCS Codevita 2024, Mocktest

Encryption

Solution

  • Difficulty Level –  ★ ★ ★ ★
  • Importance – Medium
  • Asked in – TCS Codevita 2024, Mocktest

Possible Legal Subsets

Solution

  • Difficulty Level –  ★ ★ ★
  • Importance – Medium
  • Asked in – TCS Codevita 2024, Mocktest

Seating Arrangement

Solution

  • Difficulty Level –  ★ ★ ★ ★ ★
  • Importance – Medium
  • Asked in – TCS Codevita 2024, Mocktest

Polygon with Maximum Area

Solution

  • Difficulty Level –  ★ ★ ★
  • Importance – Medium
  • Asked in – TCS Codevita 2024, Mocktest

Distance traveled by the Beetle

Solution

  • Difficulty Level – ★ ★ ★★★
  • Importance – Medium
  • Asked in – TCS Codevita 2020, July

Constellation Problem

Solution

  • Difficulty Level –  ★ ★ ★
  • Importance – Medium
  • Asked in – TCS Codevita 2020, July

Counting Rock Sample Problem

Solution

  • Difficulty Level –  ★ ★ ★
  • Importance – Medium
  • Asked in – TCS Codevita 2019, July

Critical Planet Problem

Solution

  • Difficulty Level –  ★ ★ ★
  • Importance – Medium
  • Asked in – TCS Codevita 2020, July

Consecutive Sum Problem

Solution

  • Difficulty Level – ★ ★
  • Importance – Medium
  • Asked in – TCS Codevita 2020, July

Bank Compare Problem

Solution

  • Difficulty Level – ★ ★ ★
  • Importance – Low
  • Asked in – TCS Codevita 2020, August

Bank Compare Problem

Solution

  • Difficulty Level – ★ ★ ★
  • Importance – Low
  • Asked in – TCS Codevita 2020, August

kth largest factor of N Problem

Solution

  • Difficulty Level – ★ ★ ★
  • Importance – Low
  • Asked in – TCS Codevita 2020, August

On a Cube Problem

Solution

  • Difficulty Level – ★ ★ ★ ★
  • Importance – Medium
  • Asked in – TCS Codevita 2020, July

Collecting Candies Problem

Solution

  • Difficulty Level – ★ ★ ★
  • Importance – Low
  • Asked in – TCS Codevita 2020, August

Maneuvering a cave Problem

Solution

  • Difficulty Level – ★ ★ ★★ ★
  • Importance – High
  • Asked in – TCS Codevita 2020, October

Houses Problem

Solution

  • Difficulty Level – ★ ★ ★★ ★
  • Importance – High
  • 2020

Staircase Problem

Solution

  • Difficulty Level – ★ ★ ★
  • Importance – Medium
  • Asked in – TCS Codevita 2019, August

Philaland Coin Problem

Solution

  • Difficulty Level – ★ ★ ★★ ★
  • Importance – High
  • Asked in – TCS Codevita 2020, October

Divine Divisors Problem

Solution

  • Difficulty Level – ★ ★ ★
  • Importance – Low
  • Asked in – TCS Codevita 2020, October

Coin Distribution Problem

Solution

  • Difficulty Level – ★ ★ ★★
  • Importance – Medium
  • Asked in – TCS Codevita 2020, October

Football league problem

Solution

  • Difficulty Level – ★ ★ ★★
  • Importance – Medium
  • Asked in – TCS Codevita 2020, October

Sorting Boxes problem

Solution

  • Difficulty Level – ★ ★ ★ ★
  • Importance – High
  • Asked in – TCS Codevita 2020, July

Exchange Digits Problem

Solution

  • Difficulty Level – ★ ★ ★ ★
  • Importance – Medium
  • Asked in – TCS Codevita 2020, October

Dining Table Seating Arrangement Problem

Solution

  • Difficulty Level – ★ ★ ★★
  • Importance – Medium
  • Asked in – TCS Codevita 2018, July

Forest Fire problem

Solution

  • Difficulty Level – ★ ★ ★
  • Importance – Medium
  • Asked in – TCS Codevita 2018, July

Prime Time problem

Solution

  • Difficulty Level – ★ ★ ★
  • Importance – Medium
  • Asked in – TCS Codevita 2020, July

3 Palindromes Problem

Solution

  • Difficulty Level – ★ ★ ★★
  • Importance – Medium
  • Asked in – TCS Codevita 2020, July

Television Set Problem

Solution

  • Difficulty Level – ★ ★ ★★
  • Importance – Medium
  • Asked in – TCS Codevita 2020 July

Chakravyuha Problem

Solution

  • Difficulty Level – ★ ★ ★★★
  • Importance – Medium
  • Asked in – TCS Codevita 2020, July

Bride Hunting Problem

Solution

  • Difficulty Level – ★ ★ ★★★
  • Importance – Medium
  • Asked in – TCS Codevita 2020, July

Minimize the Sum Problem

Solution

  • Difficulty Level – ★ ★ ★★★
  • Importance – Medium
  • Asked in – TCS Codevita 2020, July

Railway Station Problem

Solution

  • Difficulty Level – ★ ★ ★★★
  • Importance – Medium
  • Asked in – TCS Codevita 2020, July

Count Pairs Problem

Solution

  • Difficulty Level – ★ ★ ★★★
  • Importance – Medium
  • Asked in – TCS Codevita 2020, July

List of questions asked in TCS CodeVita coding questions -

  • Counting Rock Sample Problem
  • Consecutive Sum Problem
  • Bank Compare Problem
  • kth largest factor of N Problem
  • Collecting Candies Problem
  • Staircase Problem
  • Manoeuvring a cave Problem
  • Houses Problem
  • Coin Distribution Problem
  • Philaland Coin Problem
  • Divine Divisors Problem
  • Exchange Digits Problem

TCS CodeVita Most Asked Questions

Can a student code in different problems in different languages?

Yes, TCS allows to code in 8 different languages. Different programming languages can be chosen to solve different problems. Even same problem can be solved in different programming languages, if required.

How does one form a team for TCS CodeVita Season 12?

In TCS Codevita Season 10, only individual participation is allowed. No teams can be formed.

If by mistake I closed my browser will the codes written be saved on the system?

No, if you close your browser, you will lose your work. You should ensure that all submitted code is saved in your local file system as well.

What does the winners get ?

Since CodeVita is now global, they have come up with globally competitive prizes for the winners. Apart from the exciting prizes, winners will receive provisional internship offers and provisional offer letters from TCS.

Top 3 Coders to win total a prize money of USD 20,000/-

6 comments on “TCS CodeVita Previous Year Questions and Answers”


  • Priyanka

    Thanks i got help in my exam as there are question of these type in my exam. can you please tell me Where can we get the updates for offcampus drives?


  • avik394451

    These practice questions are really great. Can you help me with the updates on Codevita and other Off-campus drives?


  • Shruti

    Thankyou PrepInsta. I am highly grateful to you for the questions you provided. I had my test recently and the coding questions were very similar to these. Where can I find the updates for off campus drives?