Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Binary Search 2/2 | Binary Search
Binary Search in Python
course content

Conteúdo do Curso

Binary Search in Python

Binary Search in Python

1. Binary Search
2. Problems

Binary Search 2/2

It is time to test your first Binary search algorithm!

Use hints if needed! Scroll down to see the full code! Be careful with the tabulation!

Tarefa

  1. Test the function with the x variable.
  2. Print the result for the 1st test.
  3. Test the function with the x_2 variable.
  4. Print the result for the 2nd test.

Tarefa

  1. Test the function with the x variable.
  2. Print the result for the 1st test.
  3. Test the function with the x_2 variable.
  4. Print the result for the 2nd test.

Mude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo

Tudo estava claro?

Seção 1. Capítulo 2
toggle bottom row

Binary Search 2/2

It is time to test your first Binary search algorithm!

Use hints if needed! Scroll down to see the full code! Be careful with the tabulation!

Tarefa

  1. Test the function with the x variable.
  2. Print the result for the 1st test.
  3. Test the function with the x_2 variable.
  4. Print the result for the 2nd test.

Tarefa

  1. Test the function with the x variable.
  2. Print the result for the 1st test.
  3. Test the function with the x_2 variable.
  4. Print the result for the 2nd test.

Mude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo

Tudo estava claro?

Seção 1. Capítulo 2
toggle bottom row

Binary Search 2/2

It is time to test your first Binary search algorithm!

Use hints if needed! Scroll down to see the full code! Be careful with the tabulation!

Tarefa

  1. Test the function with the x variable.
  2. Print the result for the 1st test.
  3. Test the function with the x_2 variable.
  4. Print the result for the 2nd test.

Tarefa

  1. Test the function with the x variable.
  2. Print the result for the 1st test.
  3. Test the function with the x_2 variable.
  4. Print the result for the 2nd test.

Mude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo

Tudo estava claro?

It is time to test your first Binary search algorithm!

Use hints if needed! Scroll down to see the full code! Be careful with the tabulation!

Tarefa

  1. Test the function with the x variable.
  2. Print the result for the 1st test.
  3. Test the function with the x_2 variable.
  4. Print the result for the 2nd test.

Mude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo
Seção 1. Capítulo 2
Mude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo
We're sorry to hear that something went wrong. What happened?
some-alt