Skip to content

Latest commit

 

History

History
17 lines (14 loc) · 1.41 KB

README.md

File metadata and controls

17 lines (14 loc) · 1.41 KB

CWC-ITER-EntranceTest

It contains the solutions to Coding Wizard Club's entrance test.

  1. An array of n distinct element is provided find the minimum number of swaps required to sort it.
  2. Sorting of 2D array in both the manner i.e. in ascending and descending order, by the means of switch case operation an option which order sort should be provided to user.
    Instructions to follow 1. All the elements of array should be entered by user no pre filled values are acceptable. 2. Use of Inbuilt functions are restricted.
  3. Write a program to print the following series: 0, 1, 1, 2, 4, 7, 13, . . . . upto n.
  4. Write a program to input a number and check if it is an Automorphic number or not.
  5. Given an array of integers.Your task is to find and display the inversion count in an array also display the pairs that satisfies the inversions.If no inversions found print 0.
  6. Write a program to find the maximum of three numbers without using third variable.
  7. You have a variable i and when i=1 output is 3,for i=2 output is 8 and for i=3 output is 13.you have to find for which value of i output is 78? Condition: Without using any loop
  8. Write a program to solve -2x2=5x+3.
  9. Write a program to reverse a string.
  10. Write a program that accepts an integer (n) and computes the value of n+nn+nnn.

Entrance test problems referred from here: https://github.com/Coding-Wizard-ITER/JoinUs