Guys Please Help Thank Big Oh Runtime Need Exact Answer Q43794477
canyou guys please help me with this thank you!what is the Big-oh runtime I need a exact answer
8. Given the following Pseudo-code: Algorithm unknown(value, n) input integer value, Node* n output Node* if n = NULL then newNodef new Node newNode’s value f value newNode’s next f NULL return newNode else if n’s item < value then newNodef new Node new Node’s value f value newNode’s next fn return new Node else temp funknown( value, n’s next) if temp’s next = n’s next then n’s next f temp return temp a. Convert the above Pseudo-code into C++. What does function unknown actually do? c. What is the Big-Oh runtime of this function? Show transcribed image text 8. Given the following Pseudo-code: Algorithm unknown(value, n) input integer value, Node* n output Node* if n = NULL then newNodef new Node newNode’s value f value newNode’s next f NULL return newNode else if n’s item
Expert Answer
Answer to can you guys please help me with this thank you!what is the Big-oh runtime I need a exact answer…
OR