codinasion-archive / codinasion-monorepo

Community Monorepo
https://codinasion.org
MIT License
52 stars 167 forks source link

Write a JavaScript program to find the smallest three elements in an array #5232

Closed harshraj8843 closed 10 months ago

harshraj8843 commented 10 months ago

Description

Write a JavaScript program to find the smallest three elements in an array

Input  : arr[] = {10, 4, 3, 50, 23, 90}
Output : 3 4 10

Input  : arr[] = {12, 13, 1, 10, 34, 1}
Output : 1 1 10
How to contribute - Comment `!assign` to assign this issue to yourself - Fork this repository - Create a new branch - Save the solution in `program/program/find-the-smallest-three-elements-in-an-array/FindTheSmallestThreeElementsInAnArray.js` - Commit the changes - Create a pull request
codinasion-bot[bot] commented 10 months ago

👋🏻 Hey @harshraj8843

💖 Thanks for opening this issue 💖

A team member should be by to give feedback soon.

akshitchowdhury commented 10 months ago

Assign it to me. I'll get ti done!

harshraj8843 commented 10 months ago

Hey @akshitchowdhury

You can comment !assign on any good first issue you want to contribute to, to be auto-assigned

!assign
akshitchowdhury commented 10 months ago

!assign

akshitchowdhury commented 10 months ago

@harshraj8843 When do you want it get done?

dimitris1208 commented 10 months ago

!assign

codinasion-bot[bot] commented 10 months ago

Hey @dimitris1208, this issue is already assigned to @akshitchowdhury! cc/ @codinasion/codinasion

mktana commented 10 months ago

!assign

codinasion-bot[bot] commented 10 months ago

Hey @mktana, this issue is already assigned to @akshitchowdhury! cc/ @codinasion/codinasion