Re: [algogeeks] Re: amazon

2011-02-25 Thread Arulanandan P
@jalaj guys please understand how the static and extern work first. static makes the variables or functions defined in an object file to be local to that object file. When you declare the variable or function as extern , it means that definition is present in some other object file and it will b

[algogeeks] Re: Removing a set of characters from a given string

2007-08-08 Thread Arulanandan P
This was asked to me in Microsoft interview On 8/7/07, Abhi <[EMAIL PROTECTED]> wrote: > > > Is this your college assignment? > > > On Aug 7, 9:00 pm, "Arulanandan P" <[EMAIL PROTECTED]> wrote: > > You have to write a function whose prototype is giv

[algogeeks] Removing a set of characters from a given string

2007-08-07 Thread Arulanandan P
You have to write a function whose prototype is given bellow. this function will accept two char * named subject and pattern. for example subject="abracadbra" and pattern="bca".now it should check occurrences of all chars of string pattern in subject . If any match occurs then it will remove that c

[algogeeks] Re: Finding cycles in a Linked List

2006-05-15 Thread Arulanandan P
->7-->8  ^   |   |   |  |   v  10 <--- 9      then how can u find the cycle here .. On 5/14/06, deepblue <[EMAIL PROTECTED]> wrote: Hi Arulanandan P,I feel the best possible answer to this is:Take 2 pointers and increment the f

[algogeeks] Writing C program without main()

2006-05-14 Thread Arulanandan P
hi ,     Can any one let me , is it possible to write C programs without main() function.. If it is possible then how do we change the start up routine which transfer the control to the main() function.. Is there any way in the compiler to do this..   Also ,    can i write a simple

[algogeeks] Finding cycles in a Linked List

2006-05-14 Thread Arulanandan P
Hi ,    what is the best way to find out if there are any cycles in a linked list..regardsarulanandan --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to

[algogeeks] Best Algorithm to find a Prime Number

2006-04-29 Thread Arulanandan P
Hi ,     can anybody tell me best algorithm for finding a Prime Numberbyearulanandan --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to algogeeks@googlegr