In this video, we will be solving the following problem:
Given an array of n distinct integers sorted in ascending order, write a function that returns a "fixed point" in the array. If there is not a
fixed point return "None".
A fixed point in an array "A" is an index "i" such that A[i] is equal to "i".
This video is one part of the Binary Search playlist on my channel. For more videos on binary search and how to apply it to various problems, check out the other videos:
• Binary Search
The software written in this video is available at:
https://github.com/vprusso/youtube_tu...
Do you like the development environment I'm using in this video? It's a customized version of vim that's enhanced for Python development. If you want to see how I set up my vim, I have a series on this here:
http://bit.ly/lp_vim
If you've found this video helpful and want to stay up-to-date with the latest videos posted on this channel, please subscribe:
http://bit.ly/lp_subscribe
Auf dieser Seite können Sie das Online-Video Binary Search in Python: Find Fixed Point mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer LucidProgramming 11 Juli 2018 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 5,111 Mal angesehen und es wurde von 93 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!