Alternatives
Members may post updates or alternatives to this current article in order to show different
approaches or add new features.
Sub Find_max(ByVal a As Integer(,)) Dim i, j As Integer Dim newArray As Integer() = New Integer(9) {} For i = 0 To 2 For j = 0 To 2 newArray(3 * i + j) = a(i, j) Next Next Array.Sort(newArray) For index2 = 9 To 7 Step -1 ...
12 Nov 2012FoxRoot 3 alternatives
Hello everyone,I am trying to develop my "problem solving" ability. I spent too much time. However, I cant find a solution finding the max 3 elements of a 2 dimensional array. For example,1 12 47 9 152 2 2 is the array. I want to get 12,15 and 9 as output.
12 Nov 2012Sergey Alexandrovich Kryukov
By asking such questions and getting answers, you can seriously damage your "problem solving" skills. Which skills do you want to train: your own, or the experts'?!Do it by yourself; this is the only way. If it's not apparent to you, your prospects are very poor.—SA
I come from Spain. After making a lot of silly things during the studies, I wanted to correct me and to make something positive with my life, so I asked for (and got) an “Erasmus” scholarship to go to Germany. After obtaining a placement to make my Thesis in a Firm of Automation and Software development, I reached the double Degree in Electronics’ Engineering and Informatic. I worked a time with VC++ 6, many years with industry PLC and robot programming, done backbone IT for something related to car electronics and production, back to my roots in C++ and PLC Programming again and currently working as system architect for my division.
I contrinue trying to learn more C# in my spare time (which is even less than before, God bless my kids)