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,

2148

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,

1994

Difference between data structure and data base.

CTS, Value Labs, Zoho,

7 34658

what is the difference between ph4 and php5

2 7739

What is the purpose of element of in Ajax

2480

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 8803

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 3304

Under what conditions is multiple inheritance not recommended?

1 5605

diff between pointer and reference in c++?

1 5005

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

4 5585

How size of a class can be calulated?

2 4869

What is the difference between CV and Resume ?

2 5312

what are the stages of compilation

Bosch,

1 6562

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

1 4070

how is returning structurs from functions?Show an eg?

GE,

1 4719


Un-Answered Questions { Programming Languages }

Given: coordinates of rectangle-> left bottom and right top points. the rectangles create a hole.Find the maximum area of the hole. eg. 4 rectangles create a hole in between. find its area.

2482


How do I download joomla templates?

94


How do I completely delete a wordpress site?

157


Is python strongly typed or weakly typed language?

1025


What is tail recursion?

898


hi, this is raju,iam studying b.tech 2nd year,iam want know about group1 and group2 details, and we can studying without going to any instutions? please help me.

1955


What technology used by magento?

1


How can we connect to a mysql database from a php script?

1103


How to register a middlewares in laravel controller?

708


Tell me how do I determine a post, page, category, tag, link, link category, or user id?

158


Tell me how to implement you own package in laravel?

711


What are the ways to define a constant in php?

1015


What are route parameters?

791


What is a python egg?

854


What are vector functions?

102