+ 1
How to write a function using a binary search to locate a word in vector?
lab question 2
5 ответов
+ 4
While you're waiting for an answer from the community, have you seen this?
https://www.sololearn.com/learn/664/?ref=app
+ 1
In C++ i dont know yet.
But i think, locate a word in vector is more simplest than using a binary search...
That can be some thing like: WORD.split()...
Or,
vector = []
For i in length(word) :
vector.append(word[i])
.
.
(Some thing like that)
+ 1
thanks
0
What is the language you want to use?
0
C++