Introduction

This is my blog of programming, I take notes and leave codes of computer science problems I solved here. Be my guest to comment :)

Sunday, April 14, 2013

uva 572 - Oil Deposits


 1  /*
 2  Problem link
 3  Type: Graph
 4  Algorithm: DFS
 5  */

Tuesday, April 9, 2013

uva 11733 - Airports


 1 /*
 2  Problem link
 3  Type: Graph
 4  Algorithm:
 5      Kruskal, stop when the number of edge selected is equal to n-1 or the price of the edge
 6      equal to the cost to build an airport.
 7  */