Professional Documents
Culture Documents
DSA Top 20 Questions Asked by Coding Round in Sony Company
DSA Top 20 Questions Asked by Coding Round in Sony Company
2. Write a program to find the largest and smallest number in a given array.
3. Write a program to find the maximum and minimum of two numbers without using if-else
or any other comparison operator.
12. Write a program to find the GCD of two numbers using the Euclidean algorithm.
16. Write a program to check whether a given number is an Armstrong number or not.
18. Write a program to find the sum of all the multiples of 3 or 5 below 1000.
19. Write a program to find the kth smallest element in an unsorted array.