Skip to content

Instantly share code, notes, and snippets.

Danalexanderc

Block or report user

Report or block Danalexanderc

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@Danalexanderc
Danalexanderc / Dijkstra.cpp
Created Aug 28, 2017
Dijkstra's Algorithm
View Dijkstra.cpp
/* Dijkstra's Algorithm */
#include "stdlib.h"
#include <iostream>
#include "time.h"
#define MAX_PATHS 20
#define RANDOM_MAX_PATHS 2
#define MAX_WEIGHT 10
#define MAX_VERTICES 6
#define MAX_INT 1000000
@Danalexanderc
Danalexanderc / bfs maze.cpp
Created Aug 28, 2017
Breadth First Search Maze Program
View bfs maze.cpp
/* Breadth First Search Maze. */
#include "stdlib.h"
#include <iostream>
#include <windows.h>
#define NORTH 0
#define EAST 1
#define SOUTH 2
#define WEST 3
You can’t perform that action at this time.