-1

I'm trying to learn the cyclomatic complexity, but i'm stuck in this step. How does it gets the sequence value <1, 13, 18, 45, 49> as highlighted below? https://i.stack.imgur.com/UFTyU.jpg

1 Answers1

0

It is executed by calling a function int res = binarySearch(18,sequence);

It is most likely that the key is set to 18 to show that in this variant we do not find the solution as it is already found.

keiv.fly
  • 3,343
  • 4
  • 26
  • 45