1,1,5,17,61,217,?,?.
Answers were Sorted based on User's Feedback
Answer / prasad shetty
773,2753
The logic looks like this
The number at position x will be
(number at x-1) * 3 + (number at x-2) *2
| Is This Answer Correct ? | 16 Yes | 6 No |
The variables are int sum=10,SuM=20; these are same or different?
What would be an example of a structure analogous to structure c?
#include<stdio.h> int main() { int a[3][3][2]= {1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18}; printf("%d\n",*(*(*a+1)); return 0; } What will be the output of the above question? And how?
Can you tell me how to check whether a linked list is circular?
Find duplicates in a file containing 6 digit number (like uid) in O (n) time.
What is %d called in c?
what is the difference between call by value and call by reference?
5 Answers Genpact, Global Logic, Infosys,
IS Doon college of Engn.. has good faculty
inline function is there in c language?
What are the different properties of variable number of arguments?
What is hash table in c?
What is the use of extern in c?