Please if someone can create a nice tutorial on time complexity analysis.
Check this playlist from mycodeschool for time complexity analysis:
Big-O notation is generally used to do time complexity analysis
Keep in mind that time complexity is just a measure of how many instructions your program
will execute for given input
You can read this blogs to lean more about it:
https://www.interviewcake.com/article/java/big-o-notation-time-and-space-complexity
https://rob-bell.net/2009/06/a-beginners-guide-to-big-o-notation/
https://justin.abrah.ms/computer-science/how-to-calculate-big-o.html
1 Like