Posts by Fabiano Amaral • 125 points
6 posts
-
0
votes1
answer2852
viewsQ: Angular form does not take value typed in input
I’m having a problem where the angular is not assigning value to the variable of an input field of mine. Follows the code: Component.html <div class="row justify-content-center"…
angularjsasked Fabiano Amaral 125 -
5
votes1
answer279
viewsQ: Machine Scheduling - Graph Theory
I am making a list of graph theory exercises and I have enclosed in a question that has the following statement: Machines are given 1, . . . , n and time intervals I1, . . . , In. For each i, an…
-
1
votes1
answer1127
viewsA: All possible paths in graphs
I ended up finding the answer after a while, in case someone has the same difficulty here goes the solution: // C++ program to print all paths from a source to destination. #include<iostream>…
-
2
votes1
answer1127
viewsQ: All possible paths in graphs
I am doing a work that part of it consists of finding all possible paths from one vertex to another given vertex, for this I am using an algorithm almost identical to DFS as shown below: #include…
-
1
votes2
answers12386
viewsA: Problem to remove chained list element in C
strcmp(name2, aux->nome); This line has to be inside the for, so that each node updates the name2 value if not you will always compare the name of the first element, hence the reason you were…
-
3
votes2
answers518
viewsA: Data Structure - C Double Chained List
I will try to explain didactically. First let’s try to stay at the same point of understanding of the code, when you exit while, your aux variable will be pointing to the penultimate element of your…