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

Glissez pour afficher le menu

book
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!

Tâche

Swipe to start coding

  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.

Solution

Switch to desktopPassez à un bureau pour une pratique réelleContinuez d'où vous êtes en utilisant l'une des options ci-dessous
Tout était clair ?

Comment pouvons-nous l'améliorer ?

Merci pour vos commentaires !

Section 1. Chapitre 2
single

single

Demandez à l'IA

expand

Demandez à l'IA

ChatGPT

Posez n'importe quelle question ou essayez l'une des questions suggérées pour commencer notre discussion

close

Awesome!

Completion rate improved to 14.29

book
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!

Tâche

Swipe to start coding

  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.

Solution

Switch to desktopPassez à un bureau pour une pratique réelleContinuez d'où vous êtes en utilisant l'une des options ci-dessous
Tout était clair ?

Comment pouvons-nous l'améliorer ?

Merci pour vos commentaires !

close

Awesome!

Completion rate improved to 14.29

Glissez pour afficher le menu

some-alt