Join Regular Classroom : Visit ClassroomTech

Miscellaneous

TCS Digital Sample Question Paper | Coding Questions

←← Previous Page TCS Digital Coding Questions: Question 1: Write a program to find the count of numbers that consists of unique digits.Input:Input consists of two Integer lower and upper value of a rangeOutput:The output consists of a single line, print the count of unique digits in a given range. Else Print”No Unique Number“. Solution: […]

TCS Digital Sample Question Paper | Coding Questions Read More »

Unique Pair whose Sum of Digits are Same – Infytq 2019 Solve

Consider a non-empty input array (inarr) containing non-zero positive Integer. From input array, identify the unique pairs of integers such that each of the integers in the pair have the same sum of the digits. Print outnum, the number of unique pairs identified satisfying the criteria. If no such pair of integers can be identified print -1.

Unique Pair whose Sum of Digits are Same – Infytq 2019 Solve Read More »

Increasing Substring – Google Kickstart 2021 Round B – Solve

Your friend John just came back from vacation, and he would like to share with you a new property that he learned about strings.

John learned that a string C of length L consisting of uppercase English characters is strictly increasing if, for every pair of indices i and j such that 1≤i<j≤L (1-based), the character at position i is smaller than the character at position j.

Increasing Substring – Google Kickstart 2021 Round B – Solve Read More »