Click here to Skip to main content
15,890,185 members
Home / Discussions / C#
   

C#

 
AnswerRe: Need various algo asked during interview for dotnet C# Pin
Pete O'Hanlon26-Feb-15 0:56
mvePete O'Hanlon26-Feb-15 0:56 
GeneralRe: Need various algo asked during interview for dotnet C# Pin
Tridip Bhattacharjee26-Feb-15 2:25
professionalTridip Bhattacharjee26-Feb-15 2:25 
GeneralRe: Need various algo asked during interview for dotnet C# Pin
Richard Givis24-Mar-15 11:03
Richard Givis24-Mar-15 11:03 
AnswerRe: Need various algo asked during interview for dotnet C# Pin
OriginalGriff26-Feb-15 0:57
mveOriginalGriff26-Feb-15 0:57 
GeneralRe: Need various algo asked during interview for dotnet C# Pin
Tridip Bhattacharjee26-Feb-15 2:25
professionalTridip Bhattacharjee26-Feb-15 2:25 
GeneralRe: Need various algo asked during interview for dotnet C# Pin
OriginalGriff26-Feb-15 2:37
mveOriginalGriff26-Feb-15 2:37 
GeneralRe: Need various algo asked during interview for dotnet C# Pin
jschell26-Feb-15 10:05
jschell26-Feb-15 10:05 
Questionprint the largest sum along with the sequence of numbers Pin
Member 1018671625-Feb-15 4:36
Member 1018671625-Feb-15 4:36 
A random array of elements is given. Your program needs to find all the sections(sequences) in the array that are in ascending order, find the sum of those sequences, then find the largest sum and print the largest sum along with the sequence of numbers. For example if the array is like

4, 5, 6, 2, 1, 2, 3, 4, 12, 6, 4, 2, 1, 5, 8, 9

Then ascending sequences in the given array are
· 4,5,6 with sum 15
· 1,2,3,4,12 with sum 22
· 1,5,8,9 with sum 23

So your program should print the sequence 1 5 8 9 and the sum 23, as it’s the largest sum of ascending sequences.
SuggestionRe: print the largest sum along with the sequence of numbers PinPopular
Richard Deeming25-Feb-15 4:43
mveRichard Deeming25-Feb-15 4:43 
AnswerRe: print the largest sum along with the sequence of numbers Pin
Pete O'Hanlon25-Feb-15 6:00
mvePete O'Hanlon25-Feb-15 6:00 
GeneralRe: print the largest sum along with the sequence of numbers Pin
manchanx25-Feb-15 6:22
professionalmanchanx25-Feb-15 6:22 
SuggestionRe: print the largest sum along with the sequence of numbers Pin
Matt T Heffron25-Feb-15 7:55
professionalMatt T Heffron25-Feb-15 7:55 
GeneralRe: print the largest sum along with the sequence of numbers Pin
Pete O'Hanlon25-Feb-15 8:38
mvePete O'Hanlon25-Feb-15 8:38 
AnswerRe: print the largest sum along with the sequence of numbers Pin
OriginalGriff25-Feb-15 6:04
mveOriginalGriff25-Feb-15 6:04 
SuggestionRe: print the largest sum along with the sequence of numbers Pin
Rob Philpott26-Feb-15 2:25
Rob Philpott26-Feb-15 2:25 
QuestionDataGridView Pin
Member 1147904025-Feb-15 2:08
Member 1147904025-Feb-15 2:08 
AnswerRe: DataGridView Pin
manchanx25-Feb-15 2:16
professionalmanchanx25-Feb-15 2:16 
AnswerRe: DataGridView Pin
Pete O'Hanlon25-Feb-15 3:35
mvePete O'Hanlon25-Feb-15 3:35 
AnswerRe: DataGridView Pin
Keith Barrow25-Feb-15 3:37
professionalKeith Barrow25-Feb-15 3:37 
Questionmouse simulation code c# Pin
Omarkkk24-Feb-15 21:55
Omarkkk24-Feb-15 21:55 
AnswerRe: mouse simulation code c# Pin
OriginalGriff24-Feb-15 22:07
mveOriginalGriff24-Feb-15 22:07 
GeneralRe: mouse simulation code c# Pin
Omarkkk24-Feb-15 22:11
Omarkkk24-Feb-15 22:11 
GeneralRe: mouse simulation code c# Pin
OriginalGriff24-Feb-15 22:13
mveOriginalGriff24-Feb-15 22:13 
GeneralRe: mouse simulation code c# Pin
Omarkkk24-Feb-15 22:16
Omarkkk24-Feb-15 22:16 
GeneralRe: mouse simulation code c# Pin
Omarkkk24-Feb-15 22:18
Omarkkk24-Feb-15 22:18 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.