Author: ACMer
Have the function TreeConstructor(strArr) take the array of strings stored in strArr, which will contain pairs of integers in the following format: (i1,i2), where i1 represents a child node …
Big O Notation is a must known concept in software engineer algorithm complexity analysis. You will be asked the Big O during your software engineer interview, for sure. Big …
Given a matrix with dimension NxN, rotate the matrix in place the 90 degrees clockwise and anti-clockwise. For example, original Matrix 3×3: vector<vector<int>> matrix({ {1, 2, 3}, {4, 5, …
In Big5: Microsoft, Apple, Google, Amazon and Facebook, the software engineers are assigned a level so that they can work hard, and be promoted into next levels in the …
I have attended a Facebook interview last year – although I didn’t get the job offer, but here is a few tips and guidance that might help you if …