PHP 查找-顺序查找



function sequenceSearch($arr, $k) {     foreach ($arr as $key => $val) {         if ($val == $k) {             return $key;         }     }     return false; }

标签:  Release    PHP    Code    algorithm    更多