nickwph

Cancelling Rakuten Mobile

It was kinda frustrating trying to cancel an account in japan. Nothing is automated, I guess they wanted it this way, harder to cancel things. Plus, there are cancelling fee (none for me since i am using data-only plan), and penalty fee if you don’t send back the SIM card (I have no idea why…

Read more...

Update Amazon Fire TV to Fire OS 5 Developer Preview

Go to this web site: https://developer.amazon.com/public/solutions/platforms/android-fireos  Now go to your Fire TV. Settings > About > Check For System Update

Read more...

PDF Testing

http://nicholasworkshop.com/wp-content/uploads/2015/10/hello-world-aosp.pdf

Read more...

Interview Practice Basic – Breathe First Traversal

In the iterative way You can only do breathe first traversal in iterative way. Though you can still make it recursive by calling itself in each loop, but you will not benefit from it. It is similar to doing depth first traversal, instead you use a FIFO queue to store the nodes. Node definition static…

Read more...

Interview Practice Basic – Depth First Traversal

There are 4 ways to do a depth first traversal, depends on how you would like to do it.

Read more...

Interview Practice Basic – Snapsack Problem

Snapsack problem refers to the situation you want to find a combination of items that can fill up a container. Each items should be attached with a value, and there should be a target value that means a container is filled up. For example, a container has 25 spaces and there are items that will…

Read more...