Most voted "dynamic-programming" questions
Dynamic programming is a method for constructing algorithms for solving computational problems, especially combinatorial optimization. It is applicable to problems where the optimal solution can be computed from the optimal solution previously calculated and memorized - in order to avoid recalculation. If the doubt isn’t about programming-dynamics, don’t use this tag.
Learn more…8 questions
Sort by count of
-
5
votes2
answers899
viewsGraphs: the longest path
Well, as a college job, I have to create an algorithm that, given a certain file with x is able to verify which is the largest sequence of numbers which, on the basis of 6, comply with the following…
-
4
votes3
answers240
viewsWorking with X-layer array in JS
I have a big problem, I have researched several places and I have not found the solution I hope you can help me... My goal is to create a JS function that will take an array as a base, which here I…
javascript jquery array multidimensional-array dynamic-programmingasked 9 years, 5 months ago MateusFMello 166 -
1
votes2
answers868
viewsHow do I display a message if register found and if not found?
I have the following php routine: or die ("Não foi possível realizar a consulta ao banco de dados"); while($rowfoto2 = mysql_fetch_array($ridfoto2)) { How do I display a message if register found…
-
0
votes1
answer48
viewsFunction upload multi attchements
I’m trying to create a function to upload multiple files at the same time but even with one get an error. What I might be programming wrong? 'FILE DIALOG OPENS UPLOAD PANEL Private Sub…
-
0
votes0
answers178
viewsLoad multi-attachements in various attachments in form
I am trying to create a function to upload multiple files at the same time but I think because I am choosing the next function does not actually attach the file but creates a preview. In my optics I…
-
0
votes2
answers71
viewsMatrix in dynamic allocation with execution failure
Hello! The following code compiled, but shows error in execution: #include <stdlib.h> #include <stdio.h> #include <conio.h> typedef struct { char *nome; int valor; int peso; }…
-
0
votes0
answers662
viewsHelp with Java Dynamic/Chained List
I’m having a hard time with a Java method. To delimit the Node position, I only have the getProximo() method as follows below, so I cannot delete the Node passed as parameter, without excluding all…
-
0
votes1
answer629
viewsHow to pass information from a file to a dynamic vector of C structures?
Good afternoon! (EDITED) I’m doing a language work C, where I have to show on the console the information stored in a text file, but it is mandatory to pass all information to vetores structural…