Bernstein–Vazirani quantum algorithm helps to get a hidden string (in a function) of bits of any length with just a single query. This video explains the algorithm, how it is superior to classical approach and how it is implemented with an example.
Errata
├-⟩ state was referred as "minus one" state at a couple of times in the video.
References
https://en.wikipedia.org/wiki/Bernstein%E2%80%93Vazirani_algorithm
https://qiskit.org/textbook/ch-algorithms/bernstein-vazirani.html