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

TCS Ninja Interview Coding Question

The document lists a series of coding questions typically asked in TCS Ninja interviews. It includes tasks such as reversing a string, checking for palindromes, calculating factorials, and implementing data structures. Each question aims to assess programming skills and problem-solving abilities.

Uploaded by

M.charan
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)
15 views2 pages

TCS Ninja Interview Coding Question

The document lists a series of coding questions typically asked in TCS Ninja interviews. It includes tasks such as reversing a string, checking for palindromes, calculating factorials, and implementing data structures. Each question aims to assess programming skills and problem-solving abilities.

Uploaded by

M.charan
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

TCS Ninja Interview Coding Question

1.​Write a program to reverse a string without using any built-in functions.


Link
2.​Implement a function to check if a given string is a [Link]
3.​Write a program to find the factorial of a [Link]
4.​Create a function to check if a number is [Link]
5.​Write a program to find the second largest element in an [Link]
6.​Implement a function to remove duplicates from an [Link]
7.​Write a program to print fibonacci series?Link
8.​Create a function to check if two strings are [Link]
9.​Implement a basic calculator that can perform addition, subtraction,
multiplication, and [Link]
10.​ Write a program to find the intersection of two [Link]
11 Implement a function to reverse the words in a [Link]
12 Write a program to find the sum of all elements in a 2D [Link]
13 Create a function to convert a decimal number to [Link]
14 Implement a simple stack or queue data [Link]
15 Write a program to find the GCD (Greatest Common Divisor) of two
[Link]
16 Write a program to find the factorial of a [Link]
17 Given an array, find the maximum product of two [Link]​
18 Implement a function to sort a list using bubble [Link]
19 Create a program to reverse a linked [Link]
20 Write a program to find the sum of each row of a matrix?Link
21 Write a Program to print the Half Pyramid Number Pattern?Link

22 Write a program to print the left triangle start pattern?Link

23 Write a recursive function to print the factorial of a number?Link


24 Write a program to check if there exist a duplicate key in the
array?Link
25 Write a program to calculate the sum of diagonal of a matrix?Link
26 Write a program to find the missing element in an array?Link

You might also like