Can someone help me find a website explaining in very simple terms the Big-O for computer science/java?

I’ve found many but most of them are too complicated for me to understand.

Answer #1

Youtube :P or read a book

Answer #2

< Been using textbooks, one Discrete Mathematics for computer science, Absolute java, and a bunch of other crap my professor has written lol and given to us as a “textbook”.

Answer #3

youtube

Answer #4

In computer science Big O refers to the complexity or rate that something increases. For example consider the simple bubble sort with n elements. The number of comparisons and potential swaps is (n-1)+(n-2)+…. We would say the simple bubble sort has a time complexity of O(n^2) (n squared) meaning the time it takes to sort n elements increases at about the square of n (big O only deals with the main variable). This is why the simple bubble sort is a poor choice for big lists. The more efficient heap sort has a time complexity of O(n log(n)) (n times log base 2 n). Big O doesn’t always refer to time. It can also describe how space, memory, bandwidth or other resources increases.

Answer #5

Thank you!!!

More Like This
Ask an advisor one-on-one!
Advisor

Saskatoon Computer Repair

Computer Repair Services, IT Services, Technology

Advisor

Berkshire Computer Recycling

Computer Recycling, IT Asset Recycling, Corporate IT Disposal

Advisor

My Assignment Help AU

Information Technology, Programming, Education

Advisor

Developer Helps

Web Development, Programming, PHP

Advisor

Advanced Computer Consulting

Information Technology Services, Small Business Consulting, IT Support Services