Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
~2K People Reached
Favorite Forums
Favorite Tags
Member Avatar for Jaks_maths

This Program prints the numbers in given array(Row-Major Order) in Spiral order. Ex: Order Is 3*4 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 Spiral Order Of Matrix is 11 12 13 14 18 22 26 25 24 23 19 15 16 …

Member Avatar for rubberman
0
289
Member Avatar for Jaks_maths

Returns the largest sum of contiguous integers in the array Example: if the input is (-1, 2, -3, 2, 0, 5, -11), the largest sum is 7 Time complexity is O(n).

Member Avatar for mariola
-1
1K
Member Avatar for Jaks_maths
Member Avatar for raghuram1987
0
331
Member Avatar for Jaks_maths
Member Avatar for ~s.o.s~
0
136
Member Avatar for Jaks_maths

Returns the duplicate value in array t[n], which contains numbers 1 to n-1. Given two approaches with O(n) and O(n-square) complexities.

Member Avatar for yogeshwar
0
126
Member Avatar for Jaks_maths
0
118
Member Avatar for Jaks_maths
Member Avatar for Jaks_maths