Skip to content

dsc-tiu/CP-Assignment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 

Repository files navigation

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages