1.OUTPUTmain(){int j=32242,k;k=find(j);}int find(int j){if(j>0){j=(j%10)+find(j/10);printf("%d",j);}return j;}A: 3 5 7 11 132.function add a line and return input string..what is the problem
What is the technique known when the data is transferred from (its not 'between') cache to main memory?
Count the occurance of all the words in a document. You are given a method char * GetNextWord() that returns the next word in the document. - What is the best datastructure to suit this requirement- Write a algorith to do the same- What is the order of the algorithm
Given two sorted single linked lists list1,list2 write a algorithm to merge the two lists again in sorted order. No new nodes should be created.- Also give all the test cases for testing this algorithm
1)Given two sorted linked lists list1,list2. Combine the two list into a new sorted list with our creating new nodes.-All give the test case for testing the same2)You have to count the occurances of all words in a document. You are given a method chat * GetNextWord, that returns the next word from the document.- Which datastructure can be userd to achieve this- Write a algorithm for the same- What is the order of the above algorithm
1) Currently computers use 2 bits as we know, 0 and 1. What do you think would have happened if we had a thrid bit?2) An AI based computer tic-tac-toe game situation is represented below. Given the following rules in order, who do you think will win. a) If I can win, I will b) If I have to block, I will o ----|---|---- o o x ----|---|---- x xP.S : The computer is playing against itself. Justify your answer with an explanation.
Puzzles, Riddles and Others0. Classic: If a bear walks one mile south, turns left and walks one mile to the east and then turns left again and walks one mile north and arrives at its original position,
Latest Answer: WRONG !probability n that case will be = 1/2(1) + 1/2( 49/99) ...
PersonalityIt is best to read some website or a book for questions like these. 1. Tell me the courses you liked and why did you like them. 2. Give an instance in your life in which you were faced with
Latest Answer: I think you should know all development and research centers across the globe. Like I dint know there is one research center in Beijing. During Lunch interview I was asked how much did I know about microsoft work and their centers. I told them about cambridge, ...
Algorithms and Programming1. Given a rectangular (cuboidal for the puritans) cake with a rectangular piece removed (any size or orientation), how would you cut the remainder of the cake into two equal
Latest Answer: 1) Slice the cake horizontally in mid height. ...
View page [1] 2 Next >>

Go Top