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 :)

Thursday, December 17, 2015

UVA 11297 - Census


/*
Problem link
Type: Data Structure - 2D Segment tree/Quad tree.
Algorithm:

Wednesday, January 7, 2015

Wednesday, January 15, 2014

Uva 256 - Quirksome Squares

 1  /*
 2  Problem link
 3  Type: Complete Search
 4  Algorithm:
 5      Just do as it says
 6  */

Wednesday, October 16, 2013

Tuesday, September 17, 2013

Thursday, September 12, 2013

UVa 11747 - Heavy Cycle Edges

  1  /*
  2  Problem type: Graph - MST
  3  Algorithm: Find the Minimum Spanning Tree (MST) (using Kruskal,
  4      Prim) and print out all the edges which are not included in the MST.
  5  */

Wednesday, July 10, 2013

Friday, June 21, 2013

Wednesday, June 19, 2013

Monday, June 17, 2013

Tuesday, May 28, 2013

Monday, May 20, 2013

Sunday, April 14, 2013

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  */

Wednesday, March 27, 2013