Carl's Bonfire

Failure to Failure Without Losing Passion

0%

BFS vs DFS

Overview

  • search algorithms for graphs and trees
  • used for unordered graph and tree
  • graph representation
    • adjacent list: space O(V+E)
    • adjacent matrix: space O(V^2)
Read more »

Electronic MIDI Control on SG

Here is a quick showcase of a project I have been playing around with recently. An Midi Control Pad installed on SG being synced with an arduino.

Read more »

Introduction for Noobs

During a software development, a team usually have different roles, each role is responsible at a certain stage of the development period. Summarizing them into a flowchart, it will show as follow:

Git vs SVN such as Perforce:

Reset Porblems

Read more »

List

List add remove get contains next Data Structure
ArrayList O(1) O(n) O(1) O(n) O(1) Array
LinkedList O(1) O(1) O(n) O(n) O(1) Linked List
CopyOnWriteArrayList O(n) O(n) O(1) O(n) O(1) Array
Read more »

Java Data Structure Review

Interesting Summary for inheritances and relationships of default Java Data Structure

I feel like it’s more fun to summarize built in Java 7 data structures using this kinda graph. This should be a on going project as well as I could prepare for my first year exams :)

Collection

(interface) can’t be instantiated. i.e. Queue<Interger> queue = new Queue<Integer>(); // will print error

Read more »