Showing results 1 to 1 of 1
Search took 0.00 seconds.
Posts Made By: jkp
Forum: Computer Science and Software Design Aug 23rd, 2007
Replies: 57
Views: 68,392
Posted By jkp
Re: Time complexity of algorithm

what if

MyTable1.First;
for i := 1 to MyTable.RecordCount do
begin
...
end;


is O(n) or O(n2) because MyTable.RecordCount is also counts
Showing results 1 to 1 of 1

 
All times are GMT -4. The time now is 9:43 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC