Array
Id | Problem | Level | 0 / 10 | ||
---|---|---|---|---|---|
A1 | Running Sum of 1d Array | Easy | |||
A1 | Running Sum of 1d Array : ---- Input : [ 1 , 2 , 1 ] ----- Output : 4 | ||||
A2 | Shuffle the Array | Easy | |||
A2 | Shuffle the Array : ---- Input : [ 1 , 2 , 3, 4, 5] ----- Output : 1,3,5 | ||||
A3 | Sort Prime Numbers in Array | Easy | |||
A3 | Sort Prime Numbers in Array : ---- Input : 4, 8, 9, 2, 6, 10, 11, 15, 21, 7 ----- Output : 4,8,9,2,6,10,7,15,21,11 | ||||
A4 | Find Sum of Range in Array | Easy | |||
A4 | Find Sum of Range in Array : ---- Input : {1,2,3,4,5,6} range 2-4 ----- Output : 9 | ||||
A5 | Print All Zeros at the end | Easy | |||
A5 | Print All Zeros at the end : ---- Input : {1, 2, 0, 13, 4, 0, 5, 0, 9, 18} ----- Output : {1,2,13,4,5,9,18,0,0,0} | ||||
A6 | Find Sum of Pairs | Easy | |||
A6 | Find Sum of Pairs : ---- Input : {1, 2, 3, 4, 5, 6, 0, -10, 16} ----- Output : [4,2] [5,1] [0,6] [16,-10] | ||||
A7 | Missing Number | Easy | |||
A7 | Missing Number : ---- Input : 1,2,3,5 ----- Output : 4 | ||||
A8 | Maximum Product of Two Elements in an Array | Easy | |||
A8 | Maximum Product of Two Elements in an Array : ---- Input : 5 2 3 4 6 ----- Output : 30 | ||||
A9 | Squares of a Sorted Array | Easy | |||
A9 | Squares of a Sorted Array : ---- Input : -4 -2 1 3 5 ----- Output : 1 4 9 16 25 | ||||
A10 | Maximum Subarray | Medium | |||
A10 | Maximum Subarray : ---- Input : [-2,1,-3,4,-1,2,1,-5,4] ----- Output : 6 |