Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...



Programming Languages Interview Questions
Questions Answers Views Company eMail

Write a function that takes "depth" as argument and return sum of node's data of that depth. For instance, (0) depth 0 / \ (10) (20) depth 1 / \ (40) (50) depth2 If I pass get_sum_by_depth(2) , it would return 90 (i.e. 40 + 50 )

Amazon,

2151

Binary tree question - Node has numeric data (int) The function takes depth as argument and sum all the value of the node of the depth. For instance, (0) depth 0 / \ 10 20 depth 1 / \ / \ 40 50 60 70 depth 2 so if you pass get_sum(2), you would return 220 which is 40+50+60+70 (sum of depth2) write the function.

Amazon, FGD,

2007

Difference between data structure and data base.

CTS, Value Labs, Zoho,

7 34690

what is the difference between ph4 and php5

2 7759

What is the purpose of element of in Ajax

2481

Can we remove an element in a single linked list without traversing? Lets suppose the link list is like this 1 2 3 4 5 6 We need to remove 4 from this list (without traversing from beginning) and the final link list shud be 1 2 3 5 6 only thing we know is the pointer to element "4". How can we remove "4" and link "3" to "5"?

CSC,

6 8824

There is a number and when the last digit is moved to its first position the resultant number will be 50% higher than the original number.Find the number?

1 3310

Under what conditions is multiple inheritance not recommended?

1 5613

diff between pointer and reference in c++?

1 5020

Is there any book to know about Basics of C Language?

4 5599

How size of a class can be calulated?

2 4876

What is the difference between CV and Resume ?

2 5316

what are the stages of compilation

Bosch,

1 6565

What is optimization in c++? when using volatile.optimization is not possible..what does this mean?

1 4084

how is returning structurs from functions?Show an eg?

GE,

1 4726


Un-Answered Questions { Programming Languages }

What is the purpose of the pythonpath environment variable?

941


What is name of first file that loaded in laravel?

846


Explain what are some new features introduced in php7?

924


How to include js from controller and view in zend?

185


What is iunknown? Explain some of commonly used methods provided by iunknown.

1085


Whenever python exists why does all the memory is not de-allocated / freed when python exits?

851


Tell me what is the difference between ereg_replace() and eregi_replace()?

1156


Evaulate: 22%5 a) 2 b) 4 c) 0

1100


What do you understand by tail recursion in scala ?

1


Explain the procedure to pass a variable by value in wordpress?

161


Where is route in laravel?

740


Explain the uses of the modules sqlite3, ctypes, pickle, traceback, and itertools.

926


How do I revert back to my old wordpress theme?

156


Why do we use inheritance in php?

1058


Describe strsplit() in r string manipulation?

77