Here are a few good resources on Big O and optimization. Learn enough to understand what Big O is, when and why do we implement it and please give us feedback (or pull requests) on this page if you think any improvements can be made.
Make sure you checkout the Big O Cheat sheet, It’ll give you an understanding on the performance of different data structures(Arrays, Stacks, Queues… etc) that you use on a daily.