Diziler için count()
a> fonksiyonunun Big-O zaman karmaşıklığı nedir?
Örnek
$x = array(1,2,3);
echo count($x); // how many operation does it takes to count the elements
// of the array? is it 3, or is it 1
Diziler için count()
a> fonksiyonunun Big-O zaman karmaşıklığı nedir?
Örnek
$x = array(1,2,3);
echo count($x); // how many operation does it takes to count the elements
// of the array? is it 3, or is it 1