Buscar
Estás en modo de exploración. debe iniciar sesión para usar MEMORY

   Inicia sesión para empezar


Por supuesto:

Computer Science AQA A level

» Iniciar este curso
(Practica preguntas similares gratis)
Pregunta:

What is the best loop to impliment a linear search and why

Autor: Will Parker



Respuesta:

Do while loop Becasue if the first item is the corret item the loop will stop unlike a for loop Howeever they do still both have tjme complexity O(N)


0 / 5  (0 calificaciones)

1 answer(s) in total