• Sorular
  • Etiketler

PHP: karmaşıklığı işlevin sayacın [yani O (1), O (n)] nedir?

0 Cevap

Diziler için count() 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

0 Cevap

etiketler

  • Sorular
  • Etiketler
Copyright © 2014

Powered by EvrenWeb Int. Media.