Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 629f0a3

Browse files
committedJan 30, 2025
Missing code is added for challenge called 'Count the number of elements in an Array'.
1 parent bbc5b71 commit 629f0a3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed
 

‎linux-shell/00043_HackerrankLinuxShell.sh

+2
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,5 @@
33
# Count the number of elements in an Array
44
# https://www.hackerrank.com/challenges/bash-tutorials-count-the-number-of-elements-in-an-array/problem?isFullScreen=true
55

6+
readarray array
7+
echo ${#array[@]}

0 commit comments

Comments
 (0)
Please sign in to comment.