Programmer's World
8 subscribers
2 files
Download Telegram
Channel created
Which of the following function is used to insert the elements into vector??
Anonymous Quiz
67%
push_back()
33%
insert
0%
pop_back()
0%
back_push()
Channel photo updated
Channel photo updated
Channel photo updated
Channel photo updated
Channel photo removed
Channel photo updated
which of the following data structure to store unique elements in unsorted order??
Anonymous Quiz
60%
unordered_set<>
40%
set<>
0%
vector<>
which algorithm used to find the maximum subarray sum?
Anonymous Quiz
20%
moore voting algorithm
20%
binary search
0%
pigeonhole principal
60%
kadane algorithm
What is the formula of to find the mid element in binary search to prevent overflow??
Where start = 0,
end = array.size()-1
Anonymous Quiz
0%
(start + end )/ 2
33%
start + (end)/2
67%
start + (end-start)/2
0%
start/2 + end