TCS Coding Problems
Practice TCS coding problems with our interactive code editor. Write, run, and submit solutions.
Showing 12 problems
Find the factorial of a number using recursion.
General Coding Problems|
infosystcs
Easy
Write a program to reverse a string without using built-in functions.
General Coding Problems|
tcs
Easy
Check if a given string is a palindrome.
General Coding Problems|
tcs
Easy
Print the Fibonacci series up to N terms.
General Coding Problems|
tcs
Easy
Count the frequency of each character in a string.
General Coding Problems|
tcs
Easy
Check if a number is prime.
General Coding Problems|
tcs
Easy
Find the sum of all elements in an array.
General Coding Problems|
tcs
Easy
Find the missing number in an array containing n-1 integers from 1 to n.
General Coding Problems|
tcs
Easy
Print a pyramid pattern of stars with N rows.
General Coding Problems|
tcs
Easy
Find the second largest element in an array.
General Coding Problems|
tcs
Medium
Find if two strings are anagrams of each other.
General Coding Problems|
tcs
Medium
Remove duplicate characters from a string.
General Coding Problems|
tcs
Medium