-1
votes
1answer
64 views

is database the only thing which makes a application/software complex [closed]

i want to know what thing makes a application complex? is it only the database or some other things. what if Facebook has only thousand users then would it be so complex as it is now.
2
votes
4answers
271 views

Process each row against each other, how much would it cost?

If I have n rows in a database, and I want to compare every row against each other, how many loops (or processes) would I need to do. Is it n2? (so if I have 30,000 rows then it would be 900,000,000) ...