This repository has been archived by the owner on Jul 10, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 166
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d1039e0
commit 9e2dff1
Showing
2 changed files
with
18 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
program/program/find-the-smallest-three-elements-in-an-array/README.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
--- | ||
title: Find the smallest three elements in an array | ||
trackId: 5222 | ||
--- | ||
|
||
## Write a program to find the smallest three elements in an array | ||
|
||
```txt | ||
Input : arr[] = {10, 4, 3, 50, 23, 90} | ||
Output : 3 4 10 | ||
Input : arr[] = {12, 13, 1, 10, 34, 1} | ||
Output : 1 1 10 | ||
``` | ||
|
||
--- |