Skip to content

Latest commit

 

History

History
23 lines (17 loc) · 568 Bytes

README.md

File metadata and controls

23 lines (17 loc) · 568 Bytes

Competitive Programming Assignment

Solve the following problems:

  1. Given an array of size n arrange the array in such a way that all even numbers comes before all odd numbers and the order should be maintained Example - 13 25 6 24 45 2 Output - 6 24 2 13 25 45

  2. Given an array of size n print the array element and it's frequency. (Order not mandatory) Example - 2 4 2 2 3 3 3 5 Output: 2 - 3 3 - 3 4 - 1 5 - 1

Instructions to upload

  • Fork the repository
  • Create a new branch (with your name)
  • Upload files in the new branch.
  • Create a pull request.