Skip to content

Commit 48957e7

Browse files
committed
Answer is added for challenge called 'Slice an Array'.
1 parent c380d75 commit 48957e7

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/bin/sh
2+
3+
# Slice an Array
4+
# https://www.hackerrank.com/challenges/bash-tutorials-slice-an-array/problem?isFullScreen=true
5+
6+
readarray array
7+
echo ${array[@]:3:5}

0 commit comments

Comments
 (0)