7 kyu

Sum of Minimums!

1,714 of 28,599Aizaz_Ahmad

Description:

Given a 2D ( nested ) list ( array, vector, .. ) of size m * n, your task is to find the sum of the minimum values in each row.

For Example:

[ [ 1, 2, 3, 4, 5 ]        #  minimum value of row is 1
, [ 5, 6, 7, 8, 9 ]        #  minimum value of row is 5
, [ 20, 21, 34, 56, 100 ]  #  minimum value of row is 20
]

So the function should return 26 because the sum of the minimums is 1 + 5 + 20 = 26.

Note: You will always be given a non-empty list containing positive values.

ENJOY CODING :)

Fundamentals
Arrays

Stats:

CreatedAug 22, 2019
PublishedAug 22, 2019
Warriors Trained38897
Total Skips2437
Total Code Submissions56671
Total Times Completed28599
C++ Completions1714
Python Completions10769
C Completions546
NASM Completions26
JavaScript Completions12232
CFML Completions21
C# Completions979
Ruby Completions560
PHP Completions863
Rust Completions507
Haskell Completions151
COBOL Completions9
Swift Completions813
Julia Completions8
Java Completions115
Total Stars268
% of votes with a positive feedback rating94% of 2910
Total "Very Satisfied" Votes2590
Total "Somewhat Satisfied" Votes277
Total "Not Satisfied" Votes43
Total Rank Assessments129
Average Assessed Rank
7 kyu
Highest Assessed Rank
5 kyu
Lowest Assessed Rank
8 kyu
Ad
Contributors
  • Aizaz_Ahmad Avatar
  • anter69 Avatar
  • Chrono79 Avatar
  • imjasonmiller Avatar
  • JohanWiltink Avatar
  • barakplasma Avatar
  • Blune Avatar
  • markia Avatar
  • Spear Gato Avatar
  • FArekkusu Avatar
  • bdw429s Avatar
  • celyes Avatar
  • temen Avatar
  • hobovsky Avatar
  • uniapi Avatar
  • stellartux Avatar
  • khlivnyuk Avatar
  • user8436785 Avatar
  • ejini战神 Avatar
  • akar-0 Avatar
  • Kacarott Avatar
Ad