Search found 3 matches

by gijs
Fri Jul 28, 2006 10:31 am
Forum: Algorithms
Topic: Graph problem
Replies: 12
Views: 5483

Isn't Dijkstra's algorithm the fastest one for shortest-path problems?
by gijs
Tue Feb 21, 2006 1:41 pm
Forum: C++
Topic: compile error
Replies: 2
Views: 1915

It worked! Thanks a lot..
by gijs
Tue Feb 21, 2006 12:45 pm
Forum: C++
Topic: compile error
Replies: 2
Views: 1915

compile error

The following code results in a compile error, anyone got a clue why this happens?

#include <iostream>
using namespace std;

class TreeNode {
public:
int value;
TreeNode *left, *right;
TreeNode(int value) {
this->value = value;
}
bool contains(int total, int help) {
if(left == NULL && right ...

Go to advanced search