How to interpret complex C++ variable declarations

From int* p to int (*(*p)[])()

C++ variable definition can be very complex when *, & and nested brackets exist. This tutorial lists some examples from easy to advanced level to help you walk you through each of them and understand how we should interpret them in a more systematic way.

Read more

家有小猫

记录下家里小猫一岁的成长历史

Read more

Collection of common behaviroal questions

The most common and popular technique to crack behavirol interviews is to use STAR method.

  • Situation: Set the scene and give the necessary details of your example.
  • Task: Describe what your responsibility was in that situation.
  • Action: Explain exactly what steps you took to address it.
  • Result: Share what outcomes your actions achieved.

Here are some common questions during an interview:

  • Describe a time when you managed to deal with deadlines.
  • Describe a time when you handled disagreement/conflicts with your colleagues.
  • Describe a time when you worked with a difficult teammate.
  • Describe a time when you failed at your work.
  • Why do you leave your last job?
  • Where do you see yourself in 5 years?
  • Why choose X company?
  • What is your biggest weakness?
  • What is your biggest strength?
  • Describe a time when you dealt with an ambiguous task and how you solved it.
  • Describe a time when you had different opinions with your manager.