Problem Statement: Write a program to find a word in a given string that has the highest number of repeated

Continue reading# Tag: TCS NQT

## Remove brackets from an algebraic expression

In this article, we will solve the most asked interview question: “Remove brackets from an algebraic expression” Problem Statement: Remove

Continue reading## Find the Position of a Substring within a String

In this article we will solve the most asked interview question: “Find the Position of a Substring within a String”

Continue reading## Find all Symmetric Pairs in the array of pairs

In this article, we will solve the problem: “Find all Symmetric Pairs in the array of pairs” Problem Statement: Given

Continue reading## Convert Decimal to Binary Number

Problem Statement: Convert decimal to binary number. Examples: Example 1: Input: N = 15 Output: 1111 Explanation: 15 in binary

Continue reading## Print all the duplicates in the string

Print all the duplicates in the string Problem Statement: Given a string of characters from a to z. Print the

Continue reading## Finding Equilibrium index in an array

Problem Statement: Finding Equilibrium index in an array Given a 0-indexed integer array nums, find the leftmost equilibrium Index. An equilibrium

Continue reading## Express given number as Sum of Two Prime Numbers

Problem: Given a number n, express the number as a sum of 2 prime numbers. Examples: Example 1: Input :

Continue reading## Remove Duplicates From an Unsorted Array

Problem Statement: Given an unsorted array, remove duplicates from the array. Examples: Example 1: Input: arr[]={2,3,1,9,3,1,3,9} Output: {2,3,1,9} Explanation: Removed

Continue reading## Find the largest word in a String

Problem: Given a String, find the largest word in the string. Examples: Example 1: Input: string s=”Google Doc” Output: “Google”

Continue reading