Skip to content

Commit cd16706

Browse files
committed
Hackerrank sort practices
1 parent 5cc4e46 commit cd16706

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

hackerrank_practices/33_sort_6.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# You need to sort this file in ascending order of the second column (i.e. the average monthly temperature in January).
2+
3+
sort -n -t$'\t' -k2

hackerrank_practices/34_sort_7.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# You need to sort this file in descending order of the second column (i.e. the average monthly temperature in January).
2+

0 commit comments

Comments
 (0)