pratik-choudhari / AlgoCode

Welcome everyone!🌟 Here you can solve problems, build scrappers and much more💻
https://github.com/pratik-choudhari/AlgoCode
MIT License
131 stars 166 forks source link

Operations on an Array #345

Closed pallavivaswani closed 3 years ago

pallavivaswani commented 3 years ago

Feature ✅

Description

Given a number N, input N elements and the task is to perform the following operations all together:

Example

Input:

12 16 5 8 9 20 4 3 7 8 5 3 2

Output:

Smallest Number: 2 Largest Number: 20 Sum of Array elements = 90 Frequency of elements= 16-1, 5-2, 8-2, 9-1, 20-1, 4-1, 3-2, 7-1, 2-1 Count of distinct elements= 6 Count of repeating elements = 3 Count of Even Elements = 6 Count of odd Elements = 6

Checklist:

Contributors are supposed to mention their coding language while asking for assignment

PriyanshuGangwar commented 3 years ago

Hi, Can I do it in C++?

Suraj1199 commented 3 years ago

Would like to do in other languages. (Python, C , Java)

poojitha2002 commented 3 years ago

Hello, I am interested to do this.

pallavivaswani commented 3 years ago

Hello, I am interested to do this.

@poojitha2002 Please mention which language?

poojitha2002 commented 3 years ago

@pallavivaswani I would like to do in JAVA

poojitha2002 commented 3 years ago

@pallavivaswani I am also good at cpp or c..Any language is comfortable to me..Can you please confirm me, in which language should I do?

AniketDGiri commented 3 years ago

hello, Could you please assign this to me for C++?

ankita319 commented 3 years ago

Hii!, Can you Assign this c/c++ project to me?

Utkarshn10 commented 3 years ago

@pratik-choudhari I would like to do this in Java

pratik-choudhari commented 3 years ago

@pratik-choudhari I would like to do this in Java

It has been already assigned in Java to someone else

drashtipatel2503 commented 3 years ago

Can I go with python?

poojitha2002 commented 3 years ago

@pallavivaswani I have added OperationsOnArray .I request you to please check the file and let me know if there are any changes to be done.

drashtipatel2503 commented 3 years ago

I have done with the task. Any updates required?