@AhmadKhaled you didnt indicate your bkg. if you already are familiar with basics of big-O notation, try something more advanced. this is an internet draft of a book that is well regarded/ widely used, Computational Complexity, a Modern Approach, Arora/ Barak
theory.cs.princeton.edu/complexity/book.pdf