The Gateway to Computer Science Excellence
0 votes
91 views

in Programming by Active (3.7k points)
retagged by | 91 views
0
Is 136?
0
If taking termination condition i>=1 : Solution : 59?

First time : find(6,5) : retruned value : 35

Second time : find(5,4) : retruned value : 24
0
when first time we hit the for loop

then how you calculated value of i please tell me ? how to find the size of (*arr)?
+1

148 answer

0
sorry for poor image

but just take the concept and analyze the sequence that's all
0

@Magma....thanks!

Please log in or register to answer this question.

Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true
50,737 questions
57,324 answers
198,405 comments
105,169 users