Meta interview question

Read after write sequence implementation