Coding Questions Asked in Virtusa
21 / 36
a)if n is negative then return -1.
b)if n is positive and perfect number then return sqrt(n).
c)if n is positive and not a perfect no. then return n(n+1)/2
Input : NA
Output : NA
Tags:Virtusa
22 / 36
1
2 2
3 3 3
4 4 4 4
5 5 5 5 5
Input : NA
Output : NA
Tags:Virtusa
23 / 36
Input : NA
Output : NA
Tags:Virtusa
24 / 36
Input : NA
Output : NA
Tags:Virtusa
25 / 36
Input : NA
Output : NA
Tags:Virtusa
26 / 36
Input : NA
Output : NA
Tags:Virtusa
27 / 36
Input : NA
Output : NA
Tags:Virtusa
28 / 36
Input : NA
Output : NA
Tags:Virtusa
29 / 36
Input : NA
Output : NA
Tags:Virtusa
Q4I highly advised to practice all the page 3 basics and standard program asked at freshers or experienced level job interview in Virtusa. Practice our hand-picked coding interview questions asked in Virtusa Page 3. You can programed the given question in any language, you can post your answer and same time you can review the other answer. It is always recommanded to write your own program first and then refer others answers. At this page we have covers all the Virtusa coding questions in 2020 and previously asked in their Interview round or coding rounds.
Top Kudos Contributor
Trending Programming Qs.
- Given a number n, print all primes smaller than or equal to n. It is a...
- Write a program to count the no. of words in the given string?
- Sort a list of dates in ascending order given the data format shown be...
- Read a string from terminal.Create a linked list to store each charact...
- Write a program to remove the vowels from the input string.
- Write a program to check whether given date is valid or not?
Last Month Contributor
- Write a program to count the no. of words in the given string?
- Given a number n, print all primes smaller than or equal to n. It is a...
- Write a program to print next to the last word of a sentence.
- Write a program to reverse the string?
- Write a program to convert uppercase to lower case and vice versa of a...