[Updated] Goldman Sachs Aptitude Test Questions and Answers
Practice List of TCS Digital Coding Questions !!!
Take 50+ FREE!! Online Data Interpretation Mock test to crack any Exams.

# Paytm Coding Questions

1 / 15

Write a program to convert the tree into its mirror

Input : NA

Output : NA

|  Trees | | | |  Fresher

Tags:Paytm

2 / 15

Write a program to check Armstrong number.

Input : NA

Output : NA

|  Basics | | | |  Fresher

3 / 15

Write a program to sort an array containing only 0's and 1's in random order.

Input : 1 0 1 1 0 1 0 1 0 0 0 1 0 1

Output :

|  Sorting | | | |  Experience

Tags:Aricent Paytm

4 / 15

Write a program to reverse string efficient way.

Input : NA

Output : NA

|  Basics | | | |  Experience

5 / 15

Write a program to check given number is power of 2 or not.

Input : NA

Output : NA

|  Basics | | | |  Experience

Tags:Ciena Paytm

6 / 15

Write program to find height of a binary tree.

Input : NA

Output : NA

|  Trees | | | |  Fresher

7 / 15

Write a program to count the number of elements which are greater than any of element on right side of an array.

Input : Arr[] = { 3, 9, 4, 6, 7, 5 }

Output :

|  Array | | | |  Experience, Fresher

Tags:Paytm

8 / 15

Write a program to find the kth largest element in a BST using constant space.

Input : NA

Output : NA

|  BST | | | |  Fresher

Tags:Paytm

9 / 15

Write a program to find the pair from two 2D matrix such that there sum is equal to given sum.

Input : NA

Output : NA

|  Array | | | |  Fresher

Tags:Paytm

10 / 15

Given an unsorted array of n integers that can contain integers from 1 to n. Some elements can be repeated multiple times and some other elements can be absent from the array. Write a program to count the frequency of all elements that are present and print the missing elements.

Input : arr[] = {2, 3, 3, 2, 5}

Output :

|  Array | | | |  Fresher

Tags:Paytm

+ Contribute Programming Qs.

Baig
1