[algogeeks] Explain

2012-08-09 Thread Sathish babu
tree *a[100]={(tree *)0};


Hey guys can any one explain me the above statement...
**~Sathish Babu~**

-- 
You received this message because you are subscribed to the Google Groups 
Algorithm Geeks group.
To post to this group, send email to algogeeks@googlegroups.com.
To unsubscribe from this group, send email to 
algogeeks+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/algogeeks?hl=en.



Re: [algogeeks] Local Minima in Unsorted Array

2012-08-09 Thread Abhishek Sharma
http://courses.csail.mit.edu/6.006/spring11/lectures/lec02.pdf

On Mon, Aug 6, 2012 at 12:19 AM, dheeraj chawla dheeraj.chawla...@gmail.com
 wrote:

 hello guys, check this code n tell me if i m worng

 int localminima(int a[],int start,int end)
 {int mid;

 while(startend)
 {
   mid=(start+end)/2;
 if(a[start]a[start+1])
return(1);
 else if(a[end-1]a[end])
   return(1);
   else if(a[mid]a[mid+1])
end=mid-1;
else
start=mid+1;
 }

 if(startend)
   return 0;

 return -1;
 }

 On Mon, Aug 6, 2012 at 12:15 AM, payal gupta gpt.pa...@gmail.com wrote:

 this could help although not true for many cases as said above

 http://ideone.com/w5gjK



 On Sun, Aug 5, 2012 at 8:40 AM, Ashish Goel ashg...@gmail.com wrote:

 can you give an example of what do you mean by Local minima?
 From Dave's example, it looks like the minima of the whole array..

 Best Regards
 Ashish Goel
 Think positive and find fuel in failure
 +919985813081
 +919966006652


 On Fri, Aug 3, 2012 at 10:32 PM, shady sinv...@gmail.com wrote:

 Hi,
 Can anyone tell how to find local minima in an unsorted array ?
 Recommended solution : O(log(n))

 Shady.

 --
 You received this message because you are subscribed to the Google
 Groups Algorithm Geeks group.
 To post to this group, send email to algogeeks@googlegroups.com.
 To unsubscribe from this group, send email to
 algogeeks+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/algogeeks?hl=en.


  --
 You received this message because you are subscribed to the Google
 Groups Algorithm Geeks group.
 To post to this group, send email to algogeeks@googlegroups.com.
 To unsubscribe from this group, send email to
 algogeeks+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/algogeeks?hl=en.


  --
 You received this message because you are subscribed to the Google Groups
 Algorithm Geeks group.
 To post to this group, send email to algogeeks@googlegroups.com.
 To unsubscribe from this group, send email to
 algogeeks+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/algogeeks?hl=en.


  --
 You received this message because you are subscribed to the Google Groups
 Algorithm Geeks group.
 To post to this group, send email to algogeeks@googlegroups.com.
 To unsubscribe from this group, send email to
 algogeeks+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/algogeeks?hl=en.


-- 
You received this message because you are subscribed to the Google Groups 
Algorithm Geeks group.
To post to this group, send email to algogeeks@googlegroups.com.
To unsubscribe from this group, send email to 
algogeeks+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/algogeeks?hl=en.



Re: [algogeeks] Explain

2012-08-09 Thread rahul
initializing a array of pointer with NULL.

On Thu, Aug 9, 2012 at 10:00 AM, Sathish babu satbrucei...@gmail.comwrote:

 tree *a[100]={(tree *)0};


 Hey guys can any one explain me the above statement...
 **~Sathish Babu~**

  --
 You received this message because you are subscribed to the Google Groups
 Algorithm Geeks group.
 To post to this group, send email to algogeeks@googlegroups.com.
 To unsubscribe from this group, send email to
 algogeeks+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/algogeeks?hl=en.


-- 
You received this message because you are subscribed to the Google Groups 
Algorithm Geeks group.
To post to this group, send email to algogeeks@googlegroups.com.
To unsubscribe from this group, send email to 
algogeeks+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/algogeeks?hl=en.



Re: [algogeeks] what is priority inversion ?

2012-08-09 Thread Kailash Bagaria
http://msdn.microsoft.com/en-us/library/aa915356.aspx
nice explanation ..

On Wed, Aug 8, 2012 at 9:26 PM, Prem Krishna Chettri hprem...@gmail.comwrote:

 Read Mar's PathFinder Case Failure It would illustrate it ..
 Infact the case was observed first on PathFinder Mission itself.


 On Wed, Aug 8, 2012 at 4:41 AM, Hraday Sharma hradaysha...@gmail.comwrote:

 i just read about priority inversion , how does it take place ?
 i read it in Galvin , it wasnt clear there.

 --
 You received this message because you are subscribed to the Google Groups
 Algorithm Geeks group.
 To view this discussion on the web visit
 https://groups.google.com/d/msg/algogeeks/-/5aVHrwEsiewJ.
 To post to this group, send email to algogeeks@googlegroups.com.
 To unsubscribe from this group, send email to
 algogeeks+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/algogeeks?hl=en.


  --
 You received this message because you are subscribed to the Google Groups
 Algorithm Geeks group.
 To post to this group, send email to algogeeks@googlegroups.com.
 To unsubscribe from this group, send email to
 algogeeks+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/algogeeks?hl=en.




-- 

--

‘Kailash Bagaria’
B-tech 4th year
Computer Science  Engineering
Indian Institute of Technology, Roorkee
Roorkee, India (247667)

-- 
You received this message because you are subscribed to the Google Groups 
Algorithm Geeks group.
To post to this group, send email to algogeeks@googlegroups.com.
To unsubscribe from this group, send email to 
algogeeks+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/algogeeks?hl=en.



Re: [algogeeks]

2012-08-09 Thread rahul sharma
Mail to me alsothnx

On Thu, Aug 9, 2012 at 2:28 PM, Piyush Khandelwal 
piyushkhandelwal...@gmail.com wrote:



 Hi !
 Google is visiting our campus tomorrow. Anyone having latest written test
 paper of google, please mail it...
 Thanx in advance!!!


 *Piyush Khandelwal** | Placement Coordinator**,
 Delhi Technological University
 ( Delhi College of Engineering )*
 Mobile: 91-8447229204
 www.dce.edu
   Get a signature like this.
 http://r1.wisestamp.com/r/landing?promo=17dest=http%3A%2F%2Fwww.wisestamp.com%2Femail-install%3Futm_source%3Dextension%26utm_medium%3Demail%26utm_campaign%3Dpromo_17
  CLICK
 HERE.http://r1.wisestamp.com/r/landing?promo=17dest=http%3A%2F%2Fwww.wisestamp.com%2Femail-install%3Futm_source%3Dextension%26utm_medium%3Demail%26utm_campaign%3Dpromo_17


 --
 You received this message because you are subscribed to the Google Groups
 Algorithm Geeks group.
 To post to this group, send email to algogeeks@googlegroups.com.
 To unsubscribe from this group, send email to
 algogeeks+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/algogeeks?hl=en.


-- 
You received this message because you are subscribed to the Google Groups 
Algorithm Geeks group.
To post to this group, send email to algogeeks@googlegroups.com.
To unsubscribe from this group, send email to 
algogeeks+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/algogeeks?hl=en.



Re: [algogeeks]

2012-08-09 Thread *$*
Mail to me also plz
On Aug 9, 2012 9:55 PM, rahul sharma rahul23111...@gmail.com wrote:

 Mail to me alsothnx

 On Thu, Aug 9, 2012 at 2:28 PM, Piyush Khandelwal 
 piyushkhandelwal...@gmail.com wrote:



 Hi !
 Google is visiting our campus tomorrow. Anyone having latest written test
 paper of google, please mail it...
 Thanx in advance!!!


 *Piyush Khandelwal** | Placement Coordinator**,
 Delhi Technological University
 ( Delhi College of Engineering )*
 Mobile: 91-8447229204
 www.dce.edu
   Get a signature like this.
 http://r1.wisestamp.com/r/landing?promo=17dest=http%3A%2F%2Fwww.wisestamp.com%2Femail-install%3Futm_source%3Dextension%26utm_medium%3Demail%26utm_campaign%3Dpromo_17
  CLICK
 HERE.http://r1.wisestamp.com/r/landing?promo=17dest=http%3A%2F%2Fwww.wisestamp.com%2Femail-install%3Futm_source%3Dextension%26utm_medium%3Demail%26utm_campaign%3Dpromo_17


 --
 You received this message because you are subscribed to the Google Groups
 Algorithm Geeks group.
 To post to this group, send email to algogeeks@googlegroups.com.
 To unsubscribe from this group, send email to
 algogeeks+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/algogeeks?hl=en.


  --
 You received this message because you are subscribed to the Google Groups
 Algorithm Geeks group.
 To post to this group, send email to algogeeks@googlegroups.com.
 To unsubscribe from this group, send email to
 algogeeks+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/algogeeks?hl=en.


-- 
You received this message because you are subscribed to the Google Groups 
Algorithm Geeks group.
To post to this group, send email to algogeeks@googlegroups.com.
To unsubscribe from this group, send email to 
algogeeks+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/algogeeks?hl=en.



Re: [algogeeks]

2012-08-09 Thread sahil gupta
Please wait for someone to reply.
Then ask personally for paper through his or her email id.
Stop spaming the group.

Sahil Gupta.

On Thu, Aug 9, 2012 at 9:56 PM, *$* gopi.komand...@gmail.com wrote:

 Mail to me also plz
 On Aug 9, 2012 9:55 PM, rahul sharma rahul23111...@gmail.com wrote:

 Mail to me alsothnx

 On Thu, Aug 9, 2012 at 2:28 PM, Piyush Khandelwal 
 piyushkhandelwal...@gmail.com wrote:



 Hi !
 Google is visiting our campus tomorrow. Anyone having latest written
 test paper of google, please mail it...
 Thanx in advance!!!


 *Piyush Khandelwal** | Placement Coordinator**,
 Delhi Technological University
 ( Delhi College of Engineering )*
 Mobile: 91-8447229204
 www.dce.edu
   Get a signature like this.
 http://r1.wisestamp.com/r/landing?promo=17dest=http%3A%2F%2Fwww.wisestamp.com%2Femail-install%3Futm_source%3Dextension%26utm_medium%3Demail%26utm_campaign%3Dpromo_17
  CLICK
 HERE.http://r1.wisestamp.com/r/landing?promo=17dest=http%3A%2F%2Fwww.wisestamp.com%2Femail-install%3Futm_source%3Dextension%26utm_medium%3Demail%26utm_campaign%3Dpromo_17


 --
 You received this message because you are subscribed to the Google
 Groups Algorithm Geeks group.
 To post to this group, send email to algogeeks@googlegroups.com.
 To unsubscribe from this group, send email to
 algogeeks+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/algogeeks?hl=en.


  --
 You received this message because you are subscribed to the Google Groups
 Algorithm Geeks group.
 To post to this group, send email to algogeeks@googlegroups.com.
 To unsubscribe from this group, send email to
 algogeeks+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/algogeeks?hl=en.

  --
 You received this message because you are subscribed to the Google Groups
 Algorithm Geeks group.
 To post to this group, send email to algogeeks@googlegroups.com.
 To unsubscribe from this group, send email to
 algogeeks+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/algogeeks?hl=en.


-- 
You received this message because you are subscribed to the Google Groups 
Algorithm Geeks group.
To post to this group, send email to algogeeks@googlegroups.com.
To unsubscribe from this group, send email to 
algogeeks+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/algogeeks?hl=en.