0% found this document useful (0 votes)
4 views2 pages

Core Coding Topics

The document outlines core coding topics and expected question types for TCS in 2026, including array manipulation, string manipulation, number theory, series & patterns, and advanced topics such as data structures and dynamic programming. It lists specific coding questions along with their sources, primarily from platforms like LeetCode and GFG. The topics cover a range of difficulties and concepts essential for computer science students preparing for technical interviews.

Uploaded by

shantanu270805
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views2 pages

Core Coding Topics

The document outlines core coding topics and expected question types for TCS in 2026, including array manipulation, string manipulation, number theory, series & patterns, and advanced topics such as data structures and dynamic programming. It lists specific coding questions along with their sources, primarily from platforms like LeetCode and GFG. The topics cover a range of difficulties and concepts essential for computer science students preparing for technical interviews.

Uploaded by

shantanu270805
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Department of Computer Science

Core Coding Topics & Expected Question Types (2026) for TCS:

1. Array Manipulation: Second largest/smallest element, rotating arrays, finding


duplicates, sum of elements, and merging arrays.

2. String Manipulation: Palindrome checking, counting vowels/consonants, substring


searching, reversing words, changing case (e.g., tata to tAtA), and anagrams.

3. Number Theory: GCD/LCM, Prime numbers, Fibonacci series, Armstrong numbers,


factorial, and digit extraction.

4. Series & Patterns: Finding the nth term in complex series (e.g., merging Fibonacci
and geometric series).

5. Advanced Topics (Digital/Prime Roles): Stacks, Queues, Linked Lists, Binary Trees,
BFS/DFS graph traversals, and dynamic programming (Easy & Medium Questions).

No. Question Source


1 Find Largest Element in Array LeetCode 747
2 Second Largest Element GFG
3 Smallest & Second Smallest Element GFG
4 Reverse an Array LeetCode 344
5 Left Rotate Array by K LeetCode 189
6 Right Rotate Array by K LeetCode 189
7 Find Duplicate Elements LeetCode 217
8 Remove Duplicates from Sorted Array LeetCode 26
9 Merge Two Sorted Arrays LeetCode 88
10 Missing Number LeetCode 268
11 Palindrome String LeetCode 125
12 Reverse Words in Sentence LeetCode 151
13 Count Vowels & Consonants GFG
14 Toggle Case String GFG
15 Valid Anagram LeetCode 242
16 Character Frequency Count GFG
17 Remove Spaces from String GFG
18 First Non-Repeating Character LeetCode 387
19 Substring Search (strStr) LeetCode 28
20 String Compression LeetCode 443
21 GCD of Two Numbers LeetCode 1979
22 LCM of Two Numbers GFG
23 Prime Number Check GFG
24 Prime Numbers in Range GFG
25 Fibonacci Series LeetCode 509
26 Factorial using Recursion GFG
27 Armstrong Number GFG
28 Reverse Integer LeetCode 7
29 Sum of Digits GFG
Department of Computer Science

30 Palindrome Number LeetCode 9


31 Pyramid Pattern GFG
32 Floyd’s Triangle GFG
33 Pascal Triangle LeetCode 118
34 Mixed Series Problem IndiaBix
35 Missing Term in AP GFG
36 Tower of Hanoi GFG
37 Generate All Subsets LeetCode 78
38 Permutations of String LeetCode 46
39 N Queens Problem LeetCode 51
40 Rat in a Maze GFG
41 Stack using Array GFG
42 Queue using Array GFG
43 Balanced Parentheses LeetCode 20
44 Reverse Linked List LeetCode 206
45 Detect Cycle in Linked List LeetCode 141
46 Inorder Traversal of Binary Tree LeetCode 94
47 BFS Traversal of Graph GFG
48 DFS Traversal of Graph GFG
49 0/1 Knapsack Problem GFG
50 Longest Common Subsequence (LCS) LeetCode 1143

You might also like