Egbert Lin's Blog

“Life is not a race, but a journey to be savoured each step of the way” by Brian Dyson

ns-3 configuration and ofswitch13 module - Tutorial

I had deployed the ns-3 simulation with ofswitch13 successfully. I've been struggling to solve the simulation platform a lot of time. So, my experience is quite valuable and self-giving sharing for the ns-3 beginners.
The following procedure can be deployed on VMware/Virtual machine or cloud instance.
If your want to know how to deploy ns-3 on remote cloud instance easily, I will post an article to demonstrate full steps.

Read more »

Tutorial - Google Chrome Web Browser in Ubuntu

If you are working on the Ubuntu environment and not used to using FireFox browser, Google Chrome maybe is your first choice.
Here, I shared my experience of installing Google Chrome on Ubuntu 16.04. You can implement it rapidly and easily.

Read more »

100. Same Tree

Question:

Given the roots of two binary trees p and q, write a function to check if they are the same or not.

Two binary trees are considered the same if they are structurally identical, and the nodes have the same value.
Read more »

88. Merge Sorted Array

Question:

Given two sorted integer arrays nums1 and nums2, merge nums2 into nums1 as one sorted array. Note:

  • The number of elements initialized in nums1 and nums2 are m and n respectively.
  • You may assume that nums1 has enough space (size that is equal to m + n) to hold additional elements from nums2.
    Read more »