Re: [algogeeks] Google Interview Question

2011-10-01 Thread arvind kumar
Hi
Are u attending off-campus or on-campus interview?

On 10/1/11, R@TH!$H rathishkan...@gmail.com wrote:
 Hi,

 I am attending Google interview on Monday. Please help me with sample
 questions.

 Thanks  Regards,
 Rathish Kannan

 --
 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] amazon ques

2011-10-01 Thread manish kapur
@somnath...can u pls elaborate...
he was looking for an elaborate ans...

-- 
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] amazon ques

2011-10-01 Thread manish kapur
@adi..
he gave a hint that space used should not b of order of range of numbers but
should depend on how many numbers are inserted...

eg..if range is say 1000...bt u entered only 5 nos -8,100,202,600,989.
u can use space of order 5..and not 1000

-- 
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.



[algogeeks] Re: amazon ques

2011-10-01 Thread SAMMM
The hash table would be used by separate chaining method not open
addressing because it may not find the correct entry efficiently in
the hash table . In case of open addresssing the value gets entered in
the first available entry after collision.

In case of insertion :- (I have considered only simple insertion as It
is not been mentioned )
U can insert the element in the linked list at the end .

In case of deletion :-
you need to find the address of the node from the hashed table which
is to be deleted .
you can delete it  Hope u know the logic to delete the node of the
whose address is only known . For that case we also need to Invalidate
the entry in the hash table and update the entry of the next node in
the hash table . I hope I am clear

In case of searching .
Hashing table will serve the purpose .

-- 
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] Re: Amazon Interns

2011-10-01 Thread shiva@Algo
Thanx,,NIT Durgapur,Do i need to study OS and RDBMS

On Sat, Oct 1, 2011 at 10:41 AM, .itoa nitm...@gmail.com wrote:

 BST ,very Large Input data problems, graphs (dfs bfs ,etc).  which college
 ?

 --
 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/-/xqxjYxJ3cP8J.
 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.



[algogeeks] Re: sony errcsn

2011-10-01 Thread SAMMM
The written round will consist of 4 sets . Time 1hr 30 mins


First 20 question : C/C++ ( lots of segmentation error , run time and
compile time errors , pointer to function , and Binary Trees )

Second 20 quesitons : OS questions ( Page , Trashing , Demand paging ,
scheduling , throughout etc)

Third 20 questions :- Aptitude and logical questions P: (Ratio ,Age,
Percentage , Permutation , work and hours , Clock  i Don't remember )

Fourth :- Given 4 questions on coding u need to write there only
consiting of the following :-

1) Recursion question (Simple)
2) Quick Sort Implementaion (Simple)
3) Merge two linked list (Simple)
4) Code for Server and Client Socket Programming  I think they
emphasied on this particular questions


U were lucky to get this feedback , I didn't get any when I asked .
Best Of Luck !!!

-- 
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.



[algogeeks] Re: Amazon Interns

2011-10-01 Thread SAMMM
Focus on Algorithm , Data Structure and your coding skills , as they
can ask for proper working code at tht moment .

-- 
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] Re: Amazon Interns

2011-10-01 Thread shiva@Algo
Thanx :)

On Sat, Oct 1, 2011 at 12:39 PM, SAMMM somnath.nit...@gmail.com wrote:

 Focus on Algorithm , Data Structure and your coding skills , as they
 can ask for proper working code at tht moment .

 --
 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] Re: amazon ques

2011-10-01 Thread shiva@Algo
Dont know how to delete (how adress will be known of the node?

On Sat, Oct 1, 2011 at 12:27 PM, SAMMM somnath.nit...@gmail.com wrote:

 The hash table would be used by separate chaining method not open
 addressing because it may not find the correct entry efficiently in
 the hash table . In case of open addresssing the value gets entered in
 the first available entry after collision.

 In case of insertion :- (I have considered only simple insertion as It
 is not been mentioned )
 U can insert the element in the linked list at the end .

 In case of deletion :-
 you need to find the address of the node from the hashed table which
 is to be deleted .
 you can delete it  Hope u know the logic to delete the node of the
 whose address is only known . For that case we also need to Invalidate
 the entry in the hash table and update the entry of the next node in
 the hash table . I hope I am clear

 In case of searching .
 Hashing table will serve the purpose .

 --
 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.



[algogeeks] Time complexity of morris traversal

2011-10-01 Thread Ankuj Gupta
What is the time complexity of morris traversal ?

-- 
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] Segmentation fault with vfork

2011-10-01 Thread Amol Sharma
anyone with better explanation ??.it's still not clear to me :(
--


Amol Sharma
Third Year Student
Computer Science and Engineering
MNNIT Allahabad
 http://gplus.to/amolsharma99
http://twitter.com/amolsharma99http://in.linkedin.com/pub/amol-sharma/21/79b/507http://youtube.com/amolsharma99





On Wed, Sep 21, 2011 at 6:34 PM, Azhar Hussain azhar...@gmail.com wrote:

 Read this documentation
 http://pubs.opengroup.org/onlinepubs/7908799/xsh/vfork.html

 vfork creates read-only copy of the parent. You cannot call function or
 assign value to variable except pid_t. Use fork and it should succeed.

 PS: Please ask questions related to Algorithms, as it is algorithm group.
 You could get fast answers for this type of question on a relevant group. No
 offense, it is just a advice. It could save time for other people and YOU
 too.

 -
 Azhar.


 On Wed, Sep 21, 2011 at 6:23 PM, sukran dhawan sukrandha...@gmail.comwrote:

  @sreeu :lol #includestdio.h? :P include this header file:P
 That s not saurabh s question

 On Wed, Sep 21, 2011 at 4:51 PM, SREENU NAIK srinivasulunai...@gmail.com
  wrote:


 hi it gives that


 in fun1:incompatible implicit declaration of built-in function ‘printf’

  in fun2:incompatible implicit declaration of built-in function ‘printf’


 On Wed, Sep 21, 2011 at 7:37 AM, saurabh singh saurab...@gmail.comwrote:

 #includesys/types.h
 int fun1()
 {
 if(vfork()==0);
 else printf(Fun1\n);
 }
 int fun2()
 {
 printf(Fun2\n);
 }
 int main()
 {
 fun1();
 fun2();
 return 0;
 }
 Why does this program giving seg fault.?

 --
 Saurabh Singh
 B.Tech (Computer Science)
 MNNIT ALLAHABAD


  --
 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] Segmentation fault with vfork

2011-10-01 Thread Amol Sharma
similar question...also gives segmentation fault...plz explain...
http://ideone.com/nlpzT

#includeunistd.h#includefcntl.h#includestdio.h
 int main()
 {
  int pid;
  printf 
http://www.opengroup.org/onlinepubs/009695399/functions/printf.html(Parent\n);
  pid = vfork();
  if(pid==0)
  {
  printf
http://www.opengroup.org/onlinepubs/009695399/functions/printf.html(Child\n);
  }
  return 0;
  }


--


Amol Sharma
Third Year Student
Computer Science and Engineering
MNNIT Allahabad
 http://gplus.to/amolsharma99
http://twitter.com/amolsharma99http://in.linkedin.com/pub/amol-sharma/21/79b/507http://youtube.com/amolsharma99





On Sat, Oct 1, 2011 at 1:15 PM, Amol Sharma amolsharm...@gmail.com wrote:

 anyone with better explanation ??.it's still not clear to me :(
 --


 Amol Sharma
 Third Year Student
 Computer Science and Engineering
 MNNIT Allahabad
  http://gplus.to/amolsharma99 
 http://twitter.com/amolsharma99http://in.linkedin.com/pub/amol-sharma/21/79b/507http://youtube.com/amolsharma99





 On Wed, Sep 21, 2011 at 6:34 PM, Azhar Hussain azhar...@gmail.com wrote:

 Read this documentation
 http://pubs.opengroup.org/onlinepubs/7908799/xsh/vfork.html

 vfork creates read-only copy of the parent. You cannot call function or
 assign value to variable except pid_t. Use fork and it should succeed.

 PS: Please ask questions related to Algorithms, as it is algorithm group.
 You could get fast answers for this type of question on a relevant group. No
 offense, it is just a advice. It could save time for other people and YOU
 too.

 -
 Azhar.


 On Wed, Sep 21, 2011 at 6:23 PM, sukran dhawan sukrandha...@gmail.comwrote:

  @sreeu :lol #includestdio.h? :P include this header file:P
 That s not saurabh s question

 On Wed, Sep 21, 2011 at 4:51 PM, SREENU NAIK 
 srinivasulunai...@gmail.com wrote:


 hi it gives that


 in fun1:incompatible implicit declaration of built-in function ‘printf’

  in fun2:incompatible implicit declaration of built-in function ‘printf’


 On Wed, Sep 21, 2011 at 7:37 AM, saurabh singh saurab...@gmail.comwrote:

 #includesys/types.h
 int fun1()
 {
 if(vfork()==0);
 else printf(Fun1\n);
 }
 int fun2()
 {
 printf(Fun2\n);
 }
 int main()
 {
 fun1();
 fun2();
 return 0;
 }
 Why does this program giving seg fault.?

 --
 Saurabh Singh
 B.Tech (Computer Science)
 MNNIT ALLAHABAD


  --
 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] Google Interview Question

2011-10-01 Thread Rathish Kannan
off campus.

--  RK :)


On Sat, Oct 1, 2011 at 11:59 AM, arvind kumar arvindk...@gmail.com wrote:

 Hi
 Are u attending off-campus or on-campus interview?

 On 10/1/11, R@TH!$H rathishkan...@gmail.com wrote:
  Hi,
 
  I am attending Google interview on Monday. Please help me with sample
  questions.
 
  Thanks  Regards,
  Rathish Kannan
 
  --
  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] Google Interview Question

2011-10-01 Thread Deepak Garg
hey,,,what is the process of attending google offcampus process.

kindly let us know..

On Sat, Oct 1, 2011 at 1:52 PM, Rathish Kannan rathishkan...@gmail.comwrote:

 off campus.

 --  RK :)



 On Sat, Oct 1, 2011 at 11:59 AM, arvind kumar arvindk...@gmail.comwrote:

 Hi
 Are u attending off-campus or on-campus interview?

 On 10/1/11, R@TH!$H rathishkan...@gmail.com wrote:
  Hi,
 
  I am attending Google interview on Monday. Please help me with sample
  questions.
 
  Thanks  Regards,
  Rathish Kannan
 
  --
  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.




-- 
U.D.I.T

Sent by Nokia OVI (c)

-- 
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] Google Interview Question

2011-10-01 Thread Rathish Kannan
apply through google careers site...

--  RK :)


On Sat, Oct 1, 2011 at 2:02 PM, Deepak Garg deepakgarg...@gmail.com wrote:

 hey,,,what is the process of attending google offcampus process.

 kindly let us know..


 On Sat, Oct 1, 2011 at 1:52 PM, Rathish Kannan rathishkan...@gmail.comwrote:

 off campus.

 --  RK :)



 On Sat, Oct 1, 2011 at 11:59 AM, arvind kumar arvindk...@gmail.comwrote:

 Hi
 Are u attending off-campus or on-campus interview?

 On 10/1/11, R@TH!$H rathishkan...@gmail.com wrote:
  Hi,
 
  I am attending Google interview on Monday. Please help me with sample
  questions.
 
  Thanks  Regards,
  Rathish Kannan
 
  --
  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.




 --
 U.D.I.T

 Sent by Nokia OVI (c)

 --
 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] Google Interview Question

2011-10-01 Thread Deepak Garg
hey can pls share the link.

thnks

On Sat, Oct 1, 2011 at 2:04 PM, Rathish Kannan rathishkan...@gmail.comwrote:

 apply through google careers site...

 --  RK :)



 On Sat, Oct 1, 2011 at 2:02 PM, Deepak Garg deepakgarg...@gmail.comwrote:

 hey,,,what is the process of attending google offcampus process.

 kindly let us know..


 On Sat, Oct 1, 2011 at 1:52 PM, Rathish Kannan 
 rathishkan...@gmail.comwrote:

 off campus.

 --  RK :)



 On Sat, Oct 1, 2011 at 11:59 AM, arvind kumar arvindk...@gmail.comwrote:

 Hi
 Are u attending off-campus or on-campus interview?

 On 10/1/11, R@TH!$H rathishkan...@gmail.com wrote:
  Hi,
 
  I am attending Google interview on Monday. Please help me with sample
  questions.
 
  Thanks  Regards,
  Rathish Kannan
 
  --
  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.




 --
 U.D.I.T

 Sent by Nokia OVI (c)

 --
 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.




-- 
U.D.I.T

Sent by Nokia OVI (c)

-- 
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.



[algogeeks] Infibeam_Help

2011-10-01 Thread Deepak Kanojia
Any who has appeared for the Infibeam process,please shed some light
on the pattern of the written paper and interview process?
Thanks in advance
Deepak Kanojia
Computer Engineering,NSIT

-- 
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] Google Interview Question

2011-10-01 Thread Anup Ghatage
FFS. here you go: http://lmgtfy.com/?q=google+careers

On Sat, Oct 1, 2011 at 2:09 PM, Deepak Garg deepakgarg...@gmail.com wrote:

 hey can pls share the link.

 thnks


 On Sat, Oct 1, 2011 at 2:04 PM, Rathish Kannan rathishkan...@gmail.comwrote:

 apply through google careers site...

 --  RK :)



 On Sat, Oct 1, 2011 at 2:02 PM, Deepak Garg deepakgarg...@gmail.comwrote:

 hey,,,what is the process of attending google offcampus process.

 kindly let us know..


 On Sat, Oct 1, 2011 at 1:52 PM, Rathish Kannan 
 rathishkan...@gmail.comwrote:

 off campus.

 --  RK :)



 On Sat, Oct 1, 2011 at 11:59 AM, arvind kumar arvindk...@gmail.comwrote:

 Hi
 Are u attending off-campus or on-campus interview?

 On 10/1/11, R@TH!$H rathishkan...@gmail.com wrote:
  Hi,
 
  I am attending Google interview on Monday. Please help me with sample
  questions.
 
  Thanks  Regards,
  Rathish Kannan
 
  --
  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.




 --
 U.D.I.T

 Sent by Nokia OVI (c)

 --
 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.




 --
 U.D.I.T

 Sent by Nokia OVI (c)

 --
 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.




-- 
Anup Ghatage

-- 
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.



[algogeeks] Amdocs

2011-10-01 Thread Nitin
Can anybody tell me the procedure of amdocs and the difficulty level to
crack the company??

-- 
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] Google Interview Question

2011-10-01 Thread Siddhartha Banerjee
lol!!!

-- 
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] Amdocs

2011-10-01 Thread shady
did you search archives before asking ?

On Sat, Oct 1, 2011 at 4:04 PM, Nitin coolguyinat...@gmail.com wrote:

 Can anybody tell me the procedure of amdocs and the difficulty level to
 crack the company??

 --
 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.



[algogeeks] string permutation

2011-10-01 Thread rahul sharma
guys plz xplain logic behind the string permutation.n if we have
duplicates that should program display the duplicates or notnyone plz
tell the logic/code for this.

-- 
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] Re: SAP!!

2011-10-01 Thread Neha Gupta
hey guys till date SAP lab has already visited to many colleges so
now plz do share any info or experience u have.

-- 
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.



[algogeeks] kronos india

2011-10-01 Thread Rahul Tiwari
Hey, Kronos India  is visiting our college. Any idea about the pattern
of the campus
selection  process? As in type of questions asked?

college - MNNIT Allahabad
pkg - 6.48 lpa











Rahul Tiwari
information tech.
MNNIT Allahabad
9838339030

-- 
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.



[algogeeks] final year project?

2011-10-01 Thread jestincobol nair
Guys plz suggest me some final year topic which is feasible ?
my interest area is network security


thanks  regards
jestin

-- 
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.



[algogeeks] Re: amazon ques

2011-10-01 Thread WgpShashank
@All Why don't try with combination of* hash-table  Array* , It Will Work , 
try it out :P


Thanks
Shashank Mani
CSE, BIT Mesra

-- 
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/-/v_MplK3KzegJ.
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] Segmentation fault with vfork

2011-10-01 Thread saurabh singh
Both share the same address space that includes even the stack
The child *returns first clearing the stack.*Now when the parent process
tries to return the child process had already cleared the stack.SO it no
longer belongs to the parent process,so sigsegv.
Try with gdb dissassemble and step *instruction by instruction checking the
state of esp at each level.*
On Sat, Oct 1, 2011 at 1:28 PM, Amol Sharma amolsharm...@gmail.com wrote:

 similar question...also gives segmentation fault...plz explain...
 http://ideone.com/nlpzT

 #includeunistd.h#includefcntl.h#includestdio.h
  int main()
  {
   int pid;
   printf 
 http://www.opengroup.org/onlinepubs/009695399/functions/printf.html(Parent\n);
   pid = vfork();
   if(pid==0)
   {
   printf 
 http://www.opengroup.org/onlinepubs/009695399/functions/printf.html(Child\n);
   }
   return 0;
   }


 --


 Amol Sharma
 Third Year Student
 Computer Science and Engineering
 MNNIT Allahabad
  http://gplus.to/amolsharma99 
 http://twitter.com/amolsharma99http://in.linkedin.com/pub/amol-sharma/21/79b/507http://youtube.com/amolsharma99





 On Sat, Oct 1, 2011 at 1:15 PM, Amol Sharma amolsharm...@gmail.comwrote:

 anyone with better explanation ??.it's still not clear to me :(
 --


 Amol Sharma
 Third Year Student
 Computer Science and Engineering
 MNNIT Allahabad
  http://gplus.to/amolsharma99 
 http://twitter.com/amolsharma99http://in.linkedin.com/pub/amol-sharma/21/79b/507http://youtube.com/amolsharma99





 On Wed, Sep 21, 2011 at 6:34 PM, Azhar Hussain azhar...@gmail.comwrote:

 Read this documentation
 http://pubs.opengroup.org/onlinepubs/7908799/xsh/vfork.html

 vfork creates read-only copy of the parent. You cannot call function or
 assign value to variable except pid_t. Use fork and it should succeed.

 PS: Please ask questions related to Algorithms, as it is algorithm group.
 You could get fast answers for this type of question on a relevant group. No
 offense, it is just a advice. It could save time for other people and YOU
 too.

 -
 Azhar.


 On Wed, Sep 21, 2011 at 6:23 PM, sukran dhawan 
 sukrandha...@gmail.comwrote:

  @sreeu :lol #includestdio.h? :P include this header file:P
 That s not saurabh s question

 On Wed, Sep 21, 2011 at 4:51 PM, SREENU NAIK 
 srinivasulunai...@gmail.com wrote:


 hi it gives that


 in fun1:incompatible implicit declaration of built-in function ‘printf’

  in fun2:incompatible implicit declaration of built-in function
 ‘printf’


 On Wed, Sep 21, 2011 at 7:37 AM, saurabh singh saurab...@gmail.comwrote:

 #includesys/types.h
 int fun1()
 {
 if(vfork()==0);
 else printf(Fun1\n);
 }
 int fun2()
 {
 printf(Fun2\n);
 }
 int main()
 {
 fun1();
 fun2();
 return 0;
 }
 Why does this program giving seg fault.?

 --
 Saurabh Singh
 B.Tech (Computer Science)
 MNNIT ALLAHABAD


  --
 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.




-- 
Saurabh Singh
B.Tech (Computer Science)
MNNIT ALLAHABAD

-- 
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] adobe question help

2011-10-01 Thread rahul sharma
You are given two 32-bit numbers, N and M, and two bit positions, i and j.
Write a method to set all bits between i and j in N equal to M (e.g., M
becomes a substring of N located at i and starting at j).
EXAMPLE:
Input: N = 100, M = 10101, i = 2, j = 6
Output: N = 10001010100
_


#includestdio.h
#includestdlib.h
int main()
{
int N,M,i,j;
printf(Enter value  of N \n);
scanf(%d,N);
fflush(stdin);
printf(Enter value  of M \n);
scanf(%d,M);
fflush(stdin);
printf(Enter value  of i \n);
scanf(%d,i);
fflush(stdin);
printf(Enter value  of j \n);
scanf(%d,j);
fflush(stdin);
int a=0,k;
for( k=0;kj;k++)
{
  a= a1;
  a=a|1;
}
for(k =0;ki;k++)
{
  a=a1;
}

N = N (~a);
printf(value of N is %d,N);
for(k=0;ki;k++)
M=M1;
N=N|M;
printf(value of N is %d,N);
getchar();
}


isnt it give us wrong mask

say i=2;

j=6;

it gives mask as(i.e ~a)

0011

but i think from 2 to 6 5 0's are neededplz tell the above prog is
ok???or not???check by giving any input whose 7thy bit is set...thnx
in advance

-- 
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.



[algogeeks] deep vas shallow

2011-10-01 Thread rahul sharma
plz xpalin waht is deep and shallow copy in c++

-- 
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.



[algogeeks] Give the logic for it

2011-10-01 Thread Chunky Garg
Given 2 set of arrays of size N(sorted +ve integers ) find the median of the
resultent array of size 2N.
(dont even think of sorting the two arrays in a third array , though u can
sort them. Try something better than order N ..order LogN )

-- 
Regards
Chunky Garg

-- 
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] deep vas shallow

2011-10-01 Thread sukran dhawan
deep copy-value copy
so for pointers oly address is copied nt the value
so its like two variables pointing to same value

shallow copy means pointed to value is copied.so two distinct copies exists

On Sat, Oct 1, 2011 at 5:20 PM, rahul sharma rahul23111...@gmail.comwrote:

 plz xpalin waht is deep and shallow copy in c++

 --
 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] deep vas shallow

2011-10-01 Thread rahul sharma
sukran can u given a litle xample plz...

On Sat, Oct 1, 2011 at 6:01 PM, sukran dhawan sukrandha...@gmail.comwrote:

 deep copy-value copy
 so for pointers oly address is copied nt the value
 so its like two variables pointing to same value

 shallow copy means pointed to value is copied.so two distinct copies exists


 On Sat, Oct 1, 2011 at 5:20 PM, rahul sharma rahul23111...@gmail.comwrote:

 plz xpalin waht is deep and shallow copy in c++

 --
 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.



[algogeeks] pointerssss

2011-10-01 Thread rahul sharma
void main()

 {
void *ptr;
char *a='A';
char *b=TAN;
int i=50;
ptr=a;
ptr=(*char)malloc(sizeof(a));
printf(%c,*ptr);
ptr=i;
ptr=(*int)malloc(sizeof(i));
printf(%d,++(*ptr));
ptr=b;
ptr=(*char)malloc(sizeof(b));
printf(%c,++(*ptr));

}
Ans: A51AN


int his o/p int last printf it is %c but hw it is printing a two character
stringANisn't it a51 n then ++(*ptr)++(T) so it become *U*
*
*
*isnt it a51U*
*
*
*
*
*but above ans is correct...*
*
*
*explain plz*

-- 
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] deep vas shallow

2011-10-01 Thread rahul vatsa
@sukran,  it seems u ve by mistake written deep copy in place of shallow
copy  vice versa.

On Sat, Oct 1, 2011 at 8:31 AM, sukran dhawan sukrandha...@gmail.comwrote:

 deep copy-value copy
 so for pointers oly address is copied nt the value
 so its like two variables pointing to same value

 shallow copy means pointed to value is copied.so two distinct copies exists


 On Sat, Oct 1, 2011 at 5:20 PM, rahul sharma rahul23111...@gmail.comwrote:

 plz xpalin waht is deep and shallow copy in c++

 --
 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] deep vas shallow

2011-10-01 Thread sukran dhawan
yup sorry vice versa :)

On Sat, Oct 1, 2011 at 6:17 PM, rahul vatsa vatsa.ra...@gmail.com wrote:

 @sukran,  it seems u ve by mistake written deep copy in place of shallow
 copy  vice versa.


 On Sat, Oct 1, 2011 at 8:31 AM, sukran dhawan sukrandha...@gmail.comwrote:

 deep copy-value copy
 so for pointers oly address is copied nt the value
 so its like two variables pointing to same value

 shallow copy means pointed to value is copied.so two distinct copies
 exists


 On Sat, Oct 1, 2011 at 5:20 PM, rahul sharma rahul23111...@gmail.comwrote:

 plz xpalin waht is deep and shallow copy in c++

 --
 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.



[algogeeks] Re: deep vas shallow

2011-10-01 Thread Brijesh
http://www.learncpp.com/cpp-tutorial/912-shallow-vs-deep-copying

Go through this link..

-- 
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/-/NIWaOsWRCT0J.
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] Re: amazon ques

2011-10-01 Thread SAMM
Yaa it will work , but in case of deletion don't u think array will
not as efficient as linked list becoz  array is Static we need to
define the memory b4 hand..

On 10/1/11, WgpShashank shashank7andr...@gmail.com wrote:
 @All Why don't try with combination of* hash-table  Array* , It Will Work ,
 try it out :P


 Thanks
 Shashank Mani
 CSE, BIT Mesra

 --
 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/-/v_MplK3KzegJ.
 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.




-- 
Somnath Singh

-- 
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] pointerssss

2011-10-01 Thread SAMM
Think pointer as an array ,  then u can understand the problm.
Here *ptr=TAN ; so ptr points to the First adress of the string . when
u do increment it just point to the next address and Thus is gives
AN .

On 10/1/11, rahul sharma rahul23111...@gmail.com wrote:
 void main()

  {
 void *ptr;
 char *a='A';
 char *b=TAN;
 int i=50;
 ptr=a;
 ptr=(*char)malloc(sizeof(a));
 printf(%c,*ptr);
 ptr=i;
 ptr=(*int)malloc(sizeof(i));
 printf(%d,++(*ptr));
 ptr=b;
 ptr=(*char)malloc(sizeof(b));
 printf(%c,++(*ptr));

 }
 Ans: A51AN


 int his o/p int last printf it is %c but hw it is printing a two character
 stringANisn't it a51 n then ++(*ptr)++(T) so it become *U*
 *
 *
 *isnt it a51U*
 *
 *
 *
 *
 *but above ans is correct...*
 *
 *
 *explain plz*

 --
 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.




-- 
Somnath Singh

-- 
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.



[algogeeks] Hired by Symantec :) :)

2011-10-01 Thread siva viknesh
   I should definitely thank this group and all its members. This
group played a vital role in my placement preparations and surely it
was an excellent doubt clearing group.

   To mention some instance I read about mutex and semaphore in many
sites which is not so good, but in this group, some of the members
gave mind-blowing awesome explanations..which on the very next day a
company asked a question applying a similar concept.

   Thanks a lot ppl :) U helped me a lot directly or indirectly in
getting me placed :)

 Will soon come up with my detailed interview experiences.

Proud to be one of the moderators of this group :)

Wish all final years get dream offers :)

-- 
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.



[algogeeks] Re: deep vas shallow

2011-10-01 Thread Bejoy kalikotay(sikkimesechora....)
A shallow copy of an object copies all of the member field values.
This works well if the fields are values, but may not be what you want
for fields that point to dynamically allocated memory. The pointer
will be copied. but the memory it points to will not be copied -- the
field in both the original object and the copy will then point to the
same dynamically allocated memory, which is not usually what you want.
The default copy constructor and assignment operator make shallow
copies.

A deep copy copies all fields, and makes copies of dynamically
allocated memory pointed to by the fields. To make a deep copy, you
must write a copy constructor and overload the assignment operator,
otherwise the copy will point to the original, with disasterous
consequences.

On Oct 1, 4:50 pm, rahul sharma rahul23111...@gmail.com wrote:
 plz xpalin waht is deep and shallow copy in c++

-- 
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.



[algogeeks] Final Year Project Ideas

2011-10-01 Thread Deepak Garg
guys

i m a computer science 4th year students.

Recently i developed an Intrusion detection system and bandwidth utilization
monitoring tool (using JAVA) for ATT as a 2 months internship project
kindly do suggest me some very good final year projects

my interest area is Artificial Intelligence, Networking.
But i would like to do work on other fields as well.

please guys help me...

Regards
Deepak

-- 
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] pointerssss

2011-10-01 Thread rahul sharma
but it is ++(*ptr)

i mean valure at ptr is incremented..n hw AN when we have written
%ci cant get dat

On Sat, Oct 1, 2011 at 6:47 PM, SAMM somnath.nit...@gmail.com wrote:

 Think pointer as an array ,  then u can understand the problm.
 Here *ptr=TAN ; so ptr points to the First adress of the string . when
 u do increment it just point to the next address and Thus is gives
 AN .

 On 10/1/11, rahul sharma rahul23111...@gmail.com wrote:
  void main()
 
   {
  void *ptr;
  char *a='A';
  char *b=TAN;
  int i=50;
  ptr=a;
  ptr=(*char)malloc(sizeof(a));
  printf(%c,*ptr);
  ptr=i;
  ptr=(*int)malloc(sizeof(i));
  printf(%d,++(*ptr));
  ptr=b;
  ptr=(*char)malloc(sizeof(b));
  printf(%c,++(*ptr));
 
  }
  Ans: A51AN
 
 
  int his o/p int last printf it is %c but hw it is printing a two
 character
  stringANisn't it a51 n then ++(*ptr)++(T) so it become *U*
  *
  *
  *isnt it a51U*
  *
  *
  *
  *
  *but above ans is correct...*
  *
  *
  *explain plz*
 
  --
  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.
 
 


 --
 Somnath Singh

 --
 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] Hired by Symantec :) :)

2011-10-01 Thread rahul sharma
congrats buddy
On Sat, Oct 1, 2011 at 6:51 PM, siva viknesh sivavikne...@gmail.com wrote:

   I should definitely thank this group and all its members. This
 group played a vital role in my placement preparations and surely it
 was an excellent doubt clearing group.

   To mention some instance I read about mutex and semaphore in many
 sites which is not so good, but in this group, some of the members
 gave mind-blowing awesome explanations..which on the very next day a
 company asked a question applying a similar concept.

   Thanks a lot ppl :) U helped me a lot directly or indirectly in
 getting me placed :)

  Will soon come up with my detailed interview experiences.

 Proud to be one of the moderators of this group :)

 Wish all final years get dream offers :)

 --
 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] Hired by Symantec :) :)

2011-10-01 Thread sagar pareek
cONGRATES

On Sat, Oct 1, 2011 at 7:34 PM, rahul sharma rahul23111...@gmail.comwrote:


 congrats buddy

 On Sat, Oct 1, 2011 at 6:51 PM, siva viknesh sivavikne...@gmail.comwrote:

   I should definitely thank this group and all its members. This
 group played a vital role in my placement preparations and surely it
 was an excellent doubt clearing group.

   To mention some instance I read about mutex and semaphore in many
 sites which is not so good, but in this group, some of the members
 gave mind-blowing awesome explanations..which on the very next day a
 company asked a question applying a similar concept.

   Thanks a lot ppl :) U helped me a lot directly or indirectly in
 getting me placed :)

  Will soon come up with my detailed interview experiences.

 Proud to be one of the moderators of this group :)

 Wish all final years get dream offers :)

 --
 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.




-- 
**Regards
SAGAR PAREEK
COMPUTER SCIENCE AND ENGINEERING
NIT ALLAHABAD

-- 
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] Re: deep vas shallow

2011-10-01 Thread rahul sharma
plz give any c++ xample to xplain bit more

On Sat, Oct 1, 2011 at 6:59 PM, Bejoy kalikotay(sikkimesechora) 
bijaykaliko...@gmail.com wrote:

 A shallow copy of an object copies all of the member field values.
 This works well if the fields are values, but may not be what you want
 for fields that point to dynamically allocated memory. The pointer
 will be copied. but the memory it points to will not be copied -- the
 field in both the original object and the copy will then point to the
 same dynamically allocated memory, which is not usually what you want.
 The default copy constructor and assignment operator make shallow
 copies.

 A deep copy copies all fields, and makes copies of dynamically
 allocated memory pointed to by the fields. To make a deep copy, you
 must write a copy constructor and overload the assignment operator,
 otherwise the copy will point to the original, with disasterous
 consequences.

 On Oct 1, 4:50 pm, rahul sharma rahul23111...@gmail.com wrote:
  plz xpalin waht is deep and shallow copy in c++

 --
 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] Segmentation fault with vfork

2011-10-01 Thread Amol Sharma
thnx saurabh.u rock :)
--


Amol Sharma
Third Year Student
Computer Science and Engineering
MNNIT Allahabad
 http://gplus.to/amolsharma99
http://twitter.com/amolsharma99http://in.linkedin.com/pub/amol-sharma/21/79b/507http://youtube.com/amolsharma99





On Sat, Oct 1, 2011 at 4:55 PM, saurabh singh saurab...@gmail.com wrote:


 Both share the same address space that includes even the stack
 The child *returns first clearing the stack.*Now when the parent process
 tries to return the child process had already cleared the stack.SO it no
 longer belongs to the parent process,so sigsegv.
 Try with gdb dissassemble and step *instruction by instruction checking
 the state of esp at each level.*

 On Sat, Oct 1, 2011 at 1:28 PM, Amol Sharma amolsharm...@gmail.comwrote:

 similar question...also gives segmentation fault...plz explain...
 http://ideone.com/nlpzT

 #includeunistd.h#includefcntl.h#includestdio.h
  int main()
  {
   int pid;
   printf 
 http://www.opengroup.org/onlinepubs/009695399/functions/printf.html(Parent\n);
   pid = vfork();
   if(pid==0)
   {
   printf 
 http://www.opengroup.org/onlinepubs/009695399/functions/printf.html(Child\n);
   }
   return 0;
   }


 --


 Amol Sharma
 Third Year Student
 Computer Science and Engineering
 MNNIT Allahabad
  http://gplus.to/amolsharma99 
 http://twitter.com/amolsharma99http://in.linkedin.com/pub/amol-sharma/21/79b/507http://youtube.com/amolsharma99





 On Sat, Oct 1, 2011 at 1:15 PM, Amol Sharma amolsharm...@gmail.comwrote:

 anyone with better explanation ??.it's still not clear to me :(
 --


 Amol Sharma
 Third Year Student
 Computer Science and Engineering
 MNNIT Allahabad
  http://gplus.to/amolsharma99 
 http://twitter.com/amolsharma99http://in.linkedin.com/pub/amol-sharma/21/79b/507http://youtube.com/amolsharma99





 On Wed, Sep 21, 2011 at 6:34 PM, Azhar Hussain azhar...@gmail.comwrote:

 Read this documentation
 http://pubs.opengroup.org/onlinepubs/7908799/xsh/vfork.html

 vfork creates read-only copy of the parent. You cannot call function or
 assign value to variable except pid_t. Use fork and it should succeed.

 PS: Please ask questions related to Algorithms, as it is algorithm
 group. You could get fast answers for this type of question on a relevant
 group. No offense, it is just a advice. It could save time for other people
 and YOU too.

 -
 Azhar.


 On Wed, Sep 21, 2011 at 6:23 PM, sukran dhawan 
 sukrandha...@gmail.comwrote:

  @sreeu :lol #includestdio.h? :P include this header file:P
 That s not saurabh s question

 On Wed, Sep 21, 2011 at 4:51 PM, SREENU NAIK 
 srinivasulunai...@gmail.com wrote:


 hi it gives that


 in fun1:incompatible implicit declaration of built-in function
 ‘printf’

  in fun2:incompatible implicit declaration of built-in function
 ‘printf’


 On Wed, Sep 21, 2011 at 7:37 AM, saurabh singh 
 saurab...@gmail.comwrote:

 #includesys/types.h
 int fun1()
 {
 if(vfork()==0);
 else printf(Fun1\n);
 }
 int fun2()
 {
 printf(Fun2\n);
 }
 int main()
 {
 fun1();
 fun2();
 return 0;
 }
 Why does this program giving seg fault.?

 --
 Saurabh Singh
 B.Tech (Computer Science)
 MNNIT ALLAHABAD


  --
 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
 

Re: [algogeeks] Final Year Project Ideas

2011-10-01 Thread Hatta
you if you like both security and artificial intelligence
maybe you would enjoy developing a binary analyser
that could be used for fuzzing, reverse engineering and
(the one I find more interesting) worm/trojan/botnet analysis.


On Sat, Oct 1, 2011 at 10:47 AM, Deepak Garg deepakgarg...@gmail.com wrote:
 guys
 i m a computer science 4th year students.
 Recently i developed an Intrusion detection system and bandwidth utilization
 monitoring tool (using JAVA) for ATT as a 2 months internship project
 kindly do suggest me some very good final year projects
 my interest area is Artificial Intelligence, Networking.
 But i would like to do work on other fields as well.
 please guys help me...
 Regards
 Deepak

 --
 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.




-- 
Hatta

-- 
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] Final Year Project Ideas

2011-10-01 Thread Deepak Garg
thanks for replying sir :)

cn u pls tell me more about developing a binary analyzer that could be used
for fuzzing

On Sat, Oct 1, 2011 at 7:40 PM, Hatta tmd...@gmail.com wrote:

 you if you like both security and artificial intelligence
 maybe you would enjoy developing a binary analyser
 that could be used for fuzzing, reverse engineering and
 (the one I find more interesting) worm/trojan/botnet analysis.


 On Sat, Oct 1, 2011 at 10:47 AM, Deepak Garg deepakgarg...@gmail.com
 wrote:
  guys
  i m a computer science 4th year students.
  Recently i developed an Intrusion detection system and bandwidth
 utilization
  monitoring tool (using JAVA) for ATT as a 2 months internship project
  kindly do suggest me some very good final year projects
  my interest area is Artificial Intelligence, Networking.
  But i would like to do work on other fields as well.
  please guys help me...
  Regards
  Deepak
 
  --
  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.
 



 --
 Hatta

 --
 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.




-- 
U.D.I.T

Sent by Nokia OVI (c)

-- 
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.



[algogeeks] string cutting in c

2011-10-01 Thread Srividhya
hi frnds..can any of you pls tell how to cut strings in optimal
time..in dynamic programming..

thanx:)

-- 
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] Final Year Project Ideas

2011-10-01 Thread Hatta
an example: http://www.eresi-project.org

fuzzing as in fuzzy-testing -- an automated engine to find bugs,
vulnerabilities, etc.



On Sat, Oct 1, 2011 at 11:24 AM, Deepak Garg deepakgarg...@gmail.com wrote:
 thanks for replying sir :)
 cn u pls tell me more about developing a binary analyzer that could be used
 for fuzzing

 On Sat, Oct 1, 2011 at 7:40 PM, Hatta tmd...@gmail.com wrote:

 you if you like both security and artificial intelligence
 maybe you would enjoy developing a binary analyser
 that could be used for fuzzing, reverse engineering and
 (the one I find more interesting) worm/trojan/botnet analysis.


 On Sat, Oct 1, 2011 at 10:47 AM, Deepak Garg deepakgarg...@gmail.com
 wrote:
  guys
  i m a computer science 4th year students.
  Recently i developed an Intrusion detection system and bandwidth
  utilization
  monitoring tool (using JAVA) for ATT as a 2 months internship project
  kindly do suggest me some very good final year projects
  my interest area is Artificial Intelligence, Networking.
  But i would like to do work on other fields as well.
  please guys help me...
  Regards
  Deepak
 
  --
  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.
 



 --
 Hatta

 --
 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.




 --
 U.D.I.T

 Sent by Nokia OVI (c)

 --
 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.




-- 
Hatta

-- 
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] is it possible??

2011-10-01 Thread Hatta
in code bellow you declare main because any executable needs an
entrypoint you cannot fake that
anyway, it doesn't use main at all to invoke those functions.

http://www.geeksforgeeks.org/archives/14538

#includestdio.h

/* Apply the constructor attribute to myStartupFun() so that it
is executed before main() */
void myStartupFun (void) __attribute__ ((constructor));

/* Apply the destructor attribute to myCleanupFun() so that it
   is executed after main() */
void myCleanupFun (void) __attribute__ ((destructor));

/* implementation of myStartupFun */
void myStartupFun (void)
{
printf (startup code before main()\n);
}

/* implementation of myCleanupFun */
void myCleanupFun (void)
{
printf (cleanup code after main()\n);
}

int main (void)
{
printf (hello\n);
return 0;
}

On Mon, Sep 19, 2011 at 1:51 PM, cegprakash cegprak...@gmail.com wrote:
 is it possible to print something without a main function??
 I wonder how the code won't get any compile error

 --
 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.





-- 
Hatta

-- 
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.



[algogeeks] array sum

2011-10-01 Thread rahul sharma
all pairs of integers sum upto x.shiuld we take care of duplicates??

-- 
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] array sum

2011-10-01 Thread shady
what is the question
???

On Sat, Oct 1, 2011 at 9:08 PM, rahul sharma rahul23111...@gmail.comwrote:

 all pairs of integers sum upto x.shiuld we take care of
 duplicates??

 --
 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.



[algogeeks] Deletion in Vector

2011-10-01 Thread SAMMM
Just wondering when a element in a Vector is deleted/removed , is the
preceding elements r shifted left or it behave like a linked
list???

For both Java and C+++ ...

-- 
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] pointerssss

2011-10-01 Thread Akash Mukherjee
hey...d code doesn't compile on gcc though

On Sat, Oct 1, 2011 at 7:32 PM, rahul sharma rahul23111...@gmail.comwrote:

 but it is ++(*ptr)

 i mean valure at ptr is incremented..n hw AN when we have written
 %ci cant get dat


 On Sat, Oct 1, 2011 at 6:47 PM, SAMM somnath.nit...@gmail.com wrote:

 Think pointer as an array ,  then u can understand the problm.
 Here *ptr=TAN ; so ptr points to the First adress of the string . when
 u do increment it just point to the next address and Thus is gives
 AN .

 On 10/1/11, rahul sharma rahul23111...@gmail.com wrote:
  void main()
 
   {
  void *ptr;
  char *a='A';
  char *b=TAN;
  int i=50;
  ptr=a;
  ptr=(*char)malloc(sizeof(a));
  printf(%c,*ptr);
  ptr=i;
  ptr=(*int)malloc(sizeof(i));
  printf(%d,++(*ptr));
  ptr=b;
  ptr=(*char)malloc(sizeof(b));
  printf(%c,++(*ptr));
 
  }
  Ans: A51AN
 
 
  int his o/p int last printf it is %c but hw it is printing a two
 character
  stringANisn't it a51 n then ++(*ptr)++(T) so it become *U*
  *
  *
  *isnt it a51U*
  *
  *
  *
  *
  *but above ans is correct...*
  *
  *
  *explain plz*
 
  --
  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.
 
 


 --
 Somnath Singh

 --
 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] Deletion in Vector

2011-10-01 Thread shady
nice question, Vector are implemented as arrays so they are shifted unlike
linked list.

On Sat, Oct 1, 2011 at 9:34 PM, SAMMM somnath.nit...@gmail.com wrote:

 Just wondering when a element in a Vector is deleted/removed , is the
 preceding elements r shifted left or it behave like a linked
 list???

 For both Java and C+++ ...

 --
 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] Hired by Symantec :) :)

2011-10-01 Thread sukran dhawan
congrats :) wats d package ?

On Sat, Oct 1, 2011 at 7:35 PM, sagar pareek sagarpar...@gmail.com wrote:

 cONGRATES


 On Sat, Oct 1, 2011 at 7:34 PM, rahul sharma rahul23111...@gmail.comwrote:


 congrats buddy

 On Sat, Oct 1, 2011 at 6:51 PM, siva viknesh sivavikne...@gmail.comwrote:

   I should definitely thank this group and all its members. This
 group played a vital role in my placement preparations and surely it
 was an excellent doubt clearing group.

   To mention some instance I read about mutex and semaphore in many
 sites which is not so good, but in this group, some of the members
 gave mind-blowing awesome explanations..which on the very next day a
 company asked a question applying a similar concept.

   Thanks a lot ppl :) U helped me a lot directly or indirectly in
 getting me placed :)

  Will soon come up with my detailed interview experiences.

 Proud to be one of the moderators of this group :)

 Wish all final years get dream offers :)

 --
 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.




 --
 **Regards
 SAGAR PAREEK
 COMPUTER SCIENCE AND ENGINEERING
 NIT ALLAHABAD

  --
 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] array sum

2011-10-01 Thread rahul sharma
all integers pairs in array that sum to given value say (k)...i have two sol
for the array that contain unique elements..m asking should i take care of
duplicates or notcoz my logic wont work for duplicates like if i have 0
1 2 3 4 5 6 8 8 if i want all pairs having some 8 ...den it should give(0,8)
(0,8) two tymes or one tym is alryt

On Sat, Oct 1, 2011 at 9:12 PM, shady sinv...@gmail.com wrote:

 what is the question
 ???

 On Sat, Oct 1, 2011 at 9:08 PM, rahul sharma rahul23111...@gmail.comwrote:

 all pairs of integers sum upto x.shiuld we take care of
 duplicates??

 --
 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] Hired by Symantec :) :)

2011-10-01 Thread shady
congrats man, you deserved it... :D

On Sat, Oct 1, 2011 at 9:53 PM, sukran dhawan sukrandha...@gmail.comwrote:

 congrats :) wats d package ?


 On Sat, Oct 1, 2011 at 7:35 PM, sagar pareek sagarpar...@gmail.comwrote:

 cONGRATES


 On Sat, Oct 1, 2011 at 7:34 PM, rahul sharma rahul23111...@gmail.comwrote:


 congrats buddy

 On Sat, Oct 1, 2011 at 6:51 PM, siva viknesh sivavikne...@gmail.comwrote:

   I should definitely thank this group and all its members. This
 group played a vital role in my placement preparations and surely it
 was an excellent doubt clearing group.

   To mention some instance I read about mutex and semaphore in many
 sites which is not so good, but in this group, some of the members
 gave mind-blowing awesome explanations..which on the very next day a
 company asked a question applying a similar concept.

   Thanks a lot ppl :) U helped me a lot directly or indirectly in
 getting me placed :)

  Will soon come up with my detailed interview experiences.

 Proud to be one of the moderators of this group :)

 Wish all final years get dream offers :)

 --
 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.




 --
 **Regards
 SAGAR PAREEK
 COMPUTER SCIENCE AND ENGINEERING
 NIT ALLAHABAD

  --
 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] pointerssss

2011-10-01 Thread rahul sharma
yeah...i have got it from somewhr i thought that in hurry someone had posted
it in wrong syntax..like changing (*char) to (*char)

On Sat, Oct 1, 2011 at 9:43 PM, Akash Mukherjee akash...@gmail.com wrote:

 hey...d code doesn't compile on gcc though


 On Sat, Oct 1, 2011 at 7:32 PM, rahul sharma rahul23111...@gmail.comwrote:

 but it is ++(*ptr)

 i mean valure at ptr is incremented..n hw AN when we have written
 %ci cant get dat


 On Sat, Oct 1, 2011 at 6:47 PM, SAMM somnath.nit...@gmail.com wrote:

 Think pointer as an array ,  then u can understand the problm.
 Here *ptr=TAN ; so ptr points to the First adress of the string . when
 u do increment it just point to the next address and Thus is gives
 AN .

 On 10/1/11, rahul sharma rahul23111...@gmail.com wrote:
  void main()
 
   {
  void *ptr;
  char *a='A';
  char *b=TAN;
  int i=50;
  ptr=a;
  ptr=(*char)malloc(sizeof(a));
  printf(%c,*ptr);
  ptr=i;
  ptr=(*int)malloc(sizeof(i));
  printf(%d,++(*ptr));
  ptr=b;
  ptr=(*char)malloc(sizeof(b));
  printf(%c,++(*ptr));
 
  }
  Ans: A51AN
 
 
  int his o/p int last printf it is %c but hw it is printing a two
 character
  stringANisn't it a51 n then ++(*ptr)++(T) so it become *U*
  *
  *
  *isnt it a51U*
  *
  *
  *
  *
  *but above ans is correct...*
  *
  *
  *explain plz*
 
  --
  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.
 
 


 --
 Somnath Singh

 --
 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] Deletion in Vector

2011-10-01 Thread Hatta
yes they are shifted
that's why you should use std::deque whenever that matters

http://www.cplusplus.com/reference/stl/vector/erase/


Because vectors keep an array format, erasing on positions other than
the vector end also moves all the elements after the segment erased to
their new positions, which may not be a method as efficient as erasing
in other kinds of sequence containers (deque, list).



On Sat, Oct 1, 2011 at 1:21 PM, shady sinv...@gmail.com wrote:
 nice question, Vector are implemented as arrays so they are shifted unlike
 linked list.

 On Sat, Oct 1, 2011 at 9:34 PM, SAMMM somnath.nit...@gmail.com wrote:

 Just wondering when a element in a Vector is deleted/removed , is the
 preceding elements r shifted left or it behave like a linked
 list???

 For both Java and C+++ ...

 --
 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.




-- 
Hatta

-- 
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.



[algogeeks] Shiwakant Bharti wants to chat

2011-10-01 Thread Shiwakant Bharti
---

Shiwakant Bharti wants to stay in better touch using some of Google's
coolest new
products.

If you already have Gmail or Google Talk, visit:
http://mail.google.com/mail/b-9b563a2e55-fc6890b3d9-4iBp_s4t31qYJm2UZYnkfC0OI7A
You'll need to click this link to be able to chat with Shiwakant Bharti.

To get Gmail - a free email account from Google with over 2,800 megabytes of
storage - and chat with Shiwakant Bharti, visit:
http://mail.google.com/mail/a-9b563a2e55-fc6890b3d9-4iBp_s4t31qYJm2UZYnkfC0OI7A

Gmail offers:
- Instant messaging right inside Gmail
- Powerful spam protection
- Built-in search for finding your messages and a helpful way of organizing
  emails into conversations
- No pop-up ads or untargeted banners - just text ads and related information
  that are relevant to the content of your messages

All this, and its yours for free. But wait, there's more! By opening a Gmail
account, you also get access to Google Talk, Google's instant messaging
service:

http://www.google.com/talk/

Google Talk offers:
- Web-based chat that you can use anywhere, without a download
- A contact list that's synchronized with your Gmail account
- Free, high quality PC-to-PC voice calls when you download the Google Talk
  client

We're working hard to add new features and make improvements, so we might also
ask for your comments and suggestions periodically. We appreciate your help in
making our products even better!

Thanks,
The Google Team

To learn more about Gmail and Google Talk, visit:
http://mail.google.com/mail/help/about.html
http://www.google.com/talk/about.html

(If clicking the URLs in this message does not work, copy and paste them into
the address bar of your browser).

-- 
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] string cutting in c

2011-10-01 Thread shady
problem description ? any link to the problem ?

On Sat, Oct 1, 2011 at 7:55 PM, Srividhya srisam261...@gmail.com wrote:

 hi frnds..can any of you pls tell how to cut strings in optimal
 time..in dynamic programming..

 thanx:)

 --
 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.



[algogeeks] Needed recursive sol

2011-10-01 Thread rahul sharma
nyone provide me with recursive sol of the following prob.


find the sum of all even nos. in the fibbonacci series upto 1000thnx in
davance

-- 
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.



[algogeeks] Re: Hired by Symantec :) :)

2011-10-01 Thread siva viknesh
thanks a lot ppl :) .. package was 5 without ctc + lot of benefits...

On Oct 1, 9:24 pm, shady sinv...@gmail.com wrote:
 congrats man, you deserved it... :D

 On Sat, Oct 1, 2011 at 9:53 PM, sukran dhawan sukrandha...@gmail.comwrote:







  congrats :) wats d package ?

  On Sat, Oct 1, 2011 at 7:35 PM, sagar pareek sagarpar...@gmail.comwrote:

  cONGRATES

  On Sat, Oct 1, 2011 at 7:34 PM, rahul sharma 
  rahul23111...@gmail.comwrote:

  congrats buddy

  On Sat, Oct 1, 2011 at 6:51 PM, siva viknesh 
  sivavikne...@gmail.comwrote:

    I should definitely thank this group and all its members. This
  group played a vital role in my placement preparations and surely it
  was an excellent doubt clearing group.

    To mention some instance I read about mutex and semaphore in many
  sites which is not so good, but in this group, some of the members
  gave mind-blowing awesome explanations..which on the very next day a
  company asked a question applying a similar concept.

    Thanks a lot ppl :) U helped me a lot directly or indirectly in
  getting me placed :)

   Will soon come up with my detailed interview experiences.

  Proud to be one of the moderators of this group :)

  Wish all final years get dream offers :)

  --
  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.

  --
  **Regards
  SAGAR PAREEK
  COMPUTER SCIENCE AND ENGINEERING
  NIT ALLAHABAD

   --
  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.



[algogeeks] Re: Infibeam_Help

2011-10-01 Thread LJ
What is the package??

On Oct 1, 3:23 pm, Deepak Kanojia dint...@gmail.com wrote:
 Any who has appeared for the Infibeam process,please shed some light
 on the pattern of the written paper and interview process?
 Thanks in advance
 Deepak Kanojia
 Computer Engineering,NSIT

-- 
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] Needed recursive sol

2011-10-01 Thread Wladimir Tavares
F(0)+F(2)+...+F(2n) = F(2n+1) - 1


Wladimir Araujo Tavares
*Federal University of Ceará http://lia.ufc.br/%7Ewladimir/
Homepage http://lia.ufc.br/%7Ewladimir/ |
Maratonahttps://sites.google.com/site/quixadamaratona/|
*




On Sat, Oct 1, 2011 at 1:40 PM, rahul sharma rahul23111...@gmail.comwrote:

 nyone provide me with recursive sol of the following prob.


 find the sum of all even nos. in the fibbonacci series upto 1000thnx in
 davance

 --
 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] Needed recursive sol

2011-10-01 Thread rahul sharma
PLZ EXPLAIN A BIT MORE

On Sat, Oct 1, 2011 at 10:46 PM, Wladimir Tavares wladimir...@gmail.comwrote:

 F(0)+F(2)+...+F(2n) = F(2n+1) - 1


 Wladimir Araujo Tavares
 *Federal University of Ceará http://lia.ufc.br/%7Ewladimir/
 Homepage http://lia.ufc.br/%7Ewladimir/ | 
 Maratonahttps://sites.google.com/site/quixadamaratona/|
 *




 On Sat, Oct 1, 2011 at 1:40 PM, rahul sharma rahul23111...@gmail.comwrote:

 nyone provide me with recursive sol of the following prob.


 find the sum of all even nos. in the fibbonacci series upto 1000thnx
 in davance

 --
 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] Needed recursive sol

2011-10-01 Thread Shuaib Khan
I am I not wrong, the problem asks for fib numbers which are even, not fib
numbers with even index...?

On Sat, Oct 1, 2011 at 10:16 PM, Wladimir Tavares wladimir...@gmail.comwrote:

 F(0)+F(2)+...+F(2n) = F(2n+1) - 1


 Wladimir Araujo Tavares
 *Federal University of Ceará http://lia.ufc.br/%7Ewladimir/
 Homepage http://lia.ufc.br/%7Ewladimir/ | 
 Maratonahttps://sites.google.com/site/quixadamaratona/|
 *





 On Sat, Oct 1, 2011 at 1:40 PM, rahul sharma rahul23111...@gmail.comwrote:

 nyone provide me with recursive sol of the following prob.


 find the sum of all even nos. in the fibbonacci series upto 1000thnx
 in davance

 --
 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.




-- 
Shuaib

-- 
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] Needed recursive sol

2011-10-01 Thread rahul sharma
yeah like0 1 1 3 5 8 .only even shpuld be added 0+8..u r ryt

On Sat, Oct 1, 2011 at 10:56 PM, Shuaib Khan aries.shu...@gmail.com wrote:

 I am I not wrong, the problem asks for fib numbers which are even, not fib
 numbers with even index...?


 On Sat, Oct 1, 2011 at 10:16 PM, Wladimir Tavares 
 wladimir...@gmail.comwrote:

 F(0)+F(2)+...+F(2n) = F(2n+1) - 1


 Wladimir Araujo Tavares
 *Federal University of Ceará http://lia.ufc.br/%7Ewladimir/
 Homepage http://lia.ufc.br/%7Ewladimir/ | 
 Maratonahttps://sites.google.com/site/quixadamaratona/|
 *





 On Sat, Oct 1, 2011 at 1:40 PM, rahul sharma rahul23111...@gmail.comwrote:

 nyone provide me with recursive sol of the following prob.


 find the sum of all even nos. in the fibbonacci series upto 1000thnx
 in davance

 --
 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.




 --
 Shuaib


  --
 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] Needed recursive sol

2011-10-01 Thread Wladimir Tavares
Sorry!

you want to find the following sum:
F (0) + F (3) + F (6) + ... + F (3n) =?

I do not know any formula for this sum.

This formula may help here:

F (0) + F (1) + F (2) + F (3 )+...+ F (n) = F (n +2) - 1

F (3n) = 3F (n) ^ 3 + 3 (-1) ^ nF (n)

You can prove this by induction!


Wladimir Araujo Tavares
*Federal University of Ceará http://lia.ufc.br/%7Ewladimir/
Homepage http://lia.ufc.br/%7Ewladimir/ |
Maratonahttps://sites.google.com/site/quixadamaratona/|
*




On Sat, Oct 1, 2011 at 2:29 PM, rahul sharma rahul23111...@gmail.comwrote:

 yeah like0 1 1 3 5 8 .only even shpuld be added 0+8..u r ryt


 On Sat, Oct 1, 2011 at 10:56 PM, Shuaib Khan aries.shu...@gmail.comwrote:

 I am I not wrong, the problem asks for fib numbers which are even, not fib
 numbers with even index...?


 On Sat, Oct 1, 2011 at 10:16 PM, Wladimir Tavares 
 wladimir...@gmail.comwrote:

 F(0)+F(2)+...+F(2n) = F(2n+1) - 1


 Wladimir Araujo Tavares
 *Federal University of Ceará http://lia.ufc.br/%7Ewladimir/
 Homepage http://lia.ufc.br/%7Ewladimir/ | 
 Maratonahttps://sites.google.com/site/quixadamaratona/|
 *





 On Sat, Oct 1, 2011 at 1:40 PM, rahul sharma rahul23111...@gmail.comwrote:

 nyone provide me with recursive sol of the following prob.


 find the sum of all even nos. in the fibbonacci series upto 1000thnx
 in davance

 --
 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.




 --
 Shuaib


  --
 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] Re: SAP!!

2011-10-01 Thread ankit gupta
DBMS questions.designing architecture stuffs using normalization
etc..basic DS questions.DBMS is the most imp aspect prepare it
well...good luck :)

-- 
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] Needed recursive sol

2011-10-01 Thread geeks
check dis out 
int fibbevensum()
{
static int a=0,b=1;
static int c,sum;
c=a+b;
if(c1000)
return sum;
if(c%2==0)
sum=sum+c;
a=b;
b=c;
fibbevensum();}

-- 
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/-/D7zy55yu6ZEJ.
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] Needed recursive sol

2011-10-01 Thread rahul sharma
its giving 16384???

On Sat, Oct 1, 2011 at 11:29 PM, geeks ankurshukla.h...@gmail.com wrote:

 check dis out
 int fibbevensum()
 {
 static int a=0,b=1;
 static int c,sum;
 c=a+b;
 if(c1000)
 return sum;
 if(c%2==0)
 sum=sum+c;
 a=b;
 b=c;
 fibbevensum();}


  --
 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/-/D7zy55yu6ZEJ.

 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] Needed recursive sol

2011-10-01 Thread rahul sharma
it looks ok but not working

On Sat, Oct 1, 2011 at 11:37 PM, rahul sharma rahul23111...@gmail.comwrote:

 its giving 16384???

 On Sat, Oct 1, 2011 at 11:29 PM, geeks ankurshukla.h...@gmail.com wrote:

 check dis out
 int fibbevensum()
 {
 static int a=0,b=1;
 static int c,sum;
 c=a+b;
 if(c1000)
 return sum;
 if(c%2==0)
 sum=sum+c;
 a=b;
 b=c;
 fibbevensum();}


  --
 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/-/D7zy55yu6ZEJ.

 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.



[algogeeks] IIS and ASP

2011-10-01 Thread himanshu kansal
guys, i have created a FILESYSTEM web site and created a connection
with database in sql server 2008it worked fine

but when i use the same connection string to connect a http website
hosted on my IIS sever locally to the same databaseit says it
cannot open the connection.please tell me whats wrong with my
server when the same website worked fine earlier.

please if somebody knows the problem then help meor can anyone
give me the email id of some other groups or blogs on which questions
related to ASP are discussed..it would be really helpful

note--coding language-c#
 os=windows 7
 iis version 6...

-- 
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.



[algogeeks] recursion

2011-10-01 Thread rahul sharma
as we know in recursion new set of variables are created for every
recurrsive call...if i have array in recursion,then does a new array created
for every recursive call???

-- 
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] recursion

2011-10-01 Thread shady
arrays are passed by reference, but variables are created each time

On Sun, Oct 2, 2011 at 12:14 AM, rahul sharma rahul23111...@gmail.comwrote:

 as we know in recursion new set of variables are created for every
 recurrsive call...if i have array in recursion,then does a new array created
 for every recursive call???

 --
 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.



[algogeeks] Microsoft

2011-10-01 Thread Manish Verma
Does microsoft hire off-campus???..if yes, then what is their
process???..n what type of questions they ask???...what about
google???

actually i've gone through microsoft's collg hiring process.it was
closebut hard luck,anyway..so gonna try after 6 months.

-- 
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] Re: EMC^2

2011-10-01 Thread Sahil Garg
how much package??

Sahil Garg
Computer Engineering
Delhi College of Engineering


On Sun, Sep 25, 2011 at 1:32 AM, aditya kumar
aditya.kumar130...@gmail.comwrote:

 since the company is about data and storage manageemnt so do we need to
 stress on DBMS .??
 and thnks fr all the help :)


 On Sat, Sep 24, 2011 at 11:11 PM, siva viknesh sivavikne...@gmail.comwrote:

 Total Rounds: max 3.
 1 written  + 1 tech + 1 hr
 Probably there might be a 2nd tech interview in case they are willing
 to take you for the company and want to give you another chance to
 prove yourself.

 Tomorrow itself they'll complete the recruitment process and shortlist
 the candidates.


 Round 1:
 Written Test:

  mostly only general aptitude questions.
  since the offer is increased, they might ask technical questions.

  in technical test:

  mostly C,
  C++ ( 5 percent chance).
  and java very very rare..

 Based on the number of students short listed after the first round,
 they would recruit only 1/3rd of the count.

 Round 2:
 Technical.

 There will be three or more types of panels depending on the number of
 people to be recruited. The panel that you might be called for is
 purely random and based on the L U C K factor.

 One panel might have pure coding where in full C and Data Structure
 questions will be asked.

 Another panel might ask general theoretical questions from all areas -
 networks, dbms, oops, c, data structures, etc... even puzzles.

 The other panel would ask questions only from the area of interest
 that you specify. Please put in the area which you are strongest at.
 All possible questions will be asked from your area of interest.

 HR Round:
 General as usual questions only. Mostly if you clear the technical
 rounds, then HR is chumma... namesake. U will be recruited :) :)

 Some details about the company:

 Basically a storage management company
 Core work:  RAID groups, storage solutions for other clients.
 Also working on virtualization (virtual servers) and now moving
 towards cloud computing


 ALL THE BEST :) :)

 On Sep 24, 6:46 pm, aditya kumar aditya.kumar130...@gmail.com wrote:
  does any one have the idea about emc2 .?? if yes plz do share the
 details

 --
 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] Re: EMC^2

2011-10-01 Thread aditya kumar
package is 8.75 l that has 7.5l as fst mothn bonus .
so ctc is 8l
On Sun, Oct 2, 2011 at 2:10 AM, Sahil Garg garg.sahi...@gmail.com wrote:

 how much package??

 Sahil Garg
 Computer Engineering
 Delhi College of Engineering



 On Sun, Sep 25, 2011 at 1:32 AM, aditya kumar 
 aditya.kumar130...@gmail.com wrote:

 since the company is about data and storage manageemnt so do we need to
 stress on DBMS .??
 and thnks fr all the help :)


 On Sat, Sep 24, 2011 at 11:11 PM, siva viknesh sivavikne...@gmail.comwrote:

 Total Rounds: max 3.
 1 written  + 1 tech + 1 hr
 Probably there might be a 2nd tech interview in case they are willing
 to take you for the company and want to give you another chance to
 prove yourself.

 Tomorrow itself they'll complete the recruitment process and shortlist
 the candidates.


 Round 1:
 Written Test:

  mostly only general aptitude questions.
  since the offer is increased, they might ask technical questions.

  in technical test:

  mostly C,
  C++ ( 5 percent chance).
  and java very very rare..

 Based on the number of students short listed after the first round,
 they would recruit only 1/3rd of the count.

 Round 2:
 Technical.

 There will be three or more types of panels depending on the number of
 people to be recruited. The panel that you might be called for is
 purely random and based on the L U C K factor.

 One panel might have pure coding where in full C and Data Structure
 questions will be asked.

 Another panel might ask general theoretical questions from all areas -
 networks, dbms, oops, c, data structures, etc... even puzzles.

 The other panel would ask questions only from the area of interest
 that you specify. Please put in the area which you are strongest at.
 All possible questions will be asked from your area of interest.

 HR Round:
 General as usual questions only. Mostly if you clear the technical
 rounds, then HR is chumma... namesake. U will be recruited :) :)

 Some details about the company:

 Basically a storage management company
 Core work:  RAID groups, storage solutions for other clients.
 Also working on virtualization (virtual servers) and now moving
 towards cloud computing


 ALL THE BEST :) :)

 On Sep 24, 6:46 pm, aditya kumar aditya.kumar130...@gmail.com wrote:
  does any one have the idea about emc2 .?? if yes plz do share the
 details

 --
 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] string permutation

2011-10-01 Thread Prakash D
if the string is like abcdef
then they will be numbered like 012345 and now we represent them in base 5
numbering and also in sorted order
the next permutation is
012354
012435
012453
012534
012543
013245
and so on..



On Sat, Oct 1, 2011 at 4:11 PM, rahul sharma rahul23111...@gmail.comwrote:

 guys plz xplain logic behind the string permutation.n if we have
 duplicates that should program display the duplicates or notnyone plz
 tell the logic/code for this.

 --
 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] recursion

2011-10-01 Thread Hatta
wait wait, that depends on the scope, the language, eventually the
compiler, everything.
please show a snip of recursive code so we can tell, please?


On Sat, Oct 1, 2011 at 3:44 PM, rahul sharma rahul23111...@gmail.com wrote:
 as we know in recursion new set of variables are created for every
 recurrsive call...if i have array in recursion,then does a new array created
 for every recursive call???

 --
 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.




-- 
Hatta

-- 
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] Needed recursive sol

2011-10-01 Thread shashank verma
@rahul:

here is the full working codE:

#includestdio.h

int fibbevensum()
{

static int a=0,b=1;
static int c=0,sum=0;
//   printf(\nHi %d %d %d\n,a,b,sum);
c=a+b;
if(c8)
return sum;
if(c%2==0)
sum=sum+c;
a=b;
b=c;
int d=fibbevensum();
return d;}

int main(){
int ans;
ans=fibbevensum();
printf(%d,ans);
return 0;
}


On Sat, Oct 1, 2011 at 11:42 PM, rahul sharma rahul23111...@gmail.comwrote:

 it looks ok but not working


 On Sat, Oct 1, 2011 at 11:37 PM, rahul sharma rahul23111...@gmail.comwrote:

 its giving 16384???

 On Sat, Oct 1, 2011 at 11:29 PM, geeks ankurshukla.h...@gmail.comwrote:

 check dis out
 int fibbevensum()
 {
 static int a=0,b=1;
 static int c,sum;
 c=a+b;
 if(c1000)
 return sum;
 if(c%2==0)
 sum=sum+c;
 a=b;
 b=c;
 fibbevensum();}


  --
 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/-/D7zy55yu6ZEJ.

 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.




-- 
Shashank Verma
:-)

-- 
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] Microsoft

2011-10-01 Thread rahul sharma
every company hire off campus ...just type company name followed by
carrers..n apply...simple.

On Sun, Oct 2, 2011 at 12:47 AM, Manish Verma jalsa.n.sa...@gmail.comwrote:

 Does microsoft hire off-campus???..if yes, then what is their
 process???..n what type of questions they ask???...what about
 google???

 actually i've gone through microsoft's collg hiring process.it was
 closebut hard luck,anyway..so gonna try after 6 months.

 --
 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] string permutation

2011-10-01 Thread rahul sharma
i have searched the archives.any give me algorithm with example...it
would be great help..thnx in advance

On Sun, Oct 2, 2011 at 2:57 AM, Prakash D cegprak...@gmail.com wrote:

 if the string is like abcdef
 then they will be numbered like 012345 and now we represent them in base 5
 numbering and also in sorted order
 the next permutation is
 012354
 012435
 012453
 012534
 012543
 013245
 and so on..



 On Sat, Oct 1, 2011 at 4:11 PM, rahul sharma rahul23111...@gmail.comwrote:

 guys plz xplain logic behind the string permutation.n if we have
 duplicates that should program display the duplicates or notnyone plz
 tell the logic/code for this.

 --
 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] recursion

2011-10-01 Thread rahul sharma
supose i have an array in recursion which is initialized with value n...
in every recusrsive call i decrement n
so that mean if initially array initialized with 10
but in second recursive call it will be 9
n when i print it will print with 10 initialized value n with 9 alosi
thnk so...what say guys

On Sun, Oct 2, 2011 at 4:01 AM, Hatta tmd...@gmail.com wrote:

 wait wait, that depends on the scope, the language, eventually the
 compiler, everything.
 please show a snip of recursive code so we can tell, please?


 On Sat, Oct 1, 2011 at 3:44 PM, rahul sharma rahul23111...@gmail.com
 wrote:
  as we know in recursion new set of variables are created for every
  recurrsive call...if i have array in recursion,then does a new array
 created
  for every recursive call???
 
  --
  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.
 



 --
 Hatta

 --
 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.



[algogeeks] Does anyone haveOperating System Concepts with Java, 8th Edition ebook plz mail me Thanx in advance

2011-10-01 Thread Deoki Nandan
-- 
**With Regards
Deoki Nandan Vishwakarma

*
*

-- 
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.



[algogeeks] Re: Needed recursive sol

2011-10-01 Thread akanksha
int sum(int f0,int f1)
{
if(f1=1000)
{
int x= sum(f1,f0+f1);
if(f1%2==0) x+=f1;
return x;
}
else
return 0;
}

-- 
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] Does anyone haveOperating System Concepts with Java, 8th Edition ebook plz mail me Thanx in advance

2011-10-01 Thread Akash Mukherjee
nebody has OPERATING SYSTEMS DESIGN AND IMPLEMENTATION by Andrew S. Tanenbaum

thanx :)

On Sun, Oct 2, 2011 at 8:38 AM, Deoki Nandan deok...@gmail.com wrote:


 --
 With Regards
 Deoki Nandan Vishwakarma



 --
 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] string permutation

2011-10-01 Thread Thayumanavar S
i have searched the archives.any give me algorithm with
example...it would be great help..thnx in advance


#include iostream
#include string
#include stdio.h
using namespace std;
void
permute(string inp, string oth)
{
if ( inp ==  ) {
coutothendl;
return;
}
for ( int i = 0; i  inp.length(); i++ ) {
permute(inp.substr(0,i)+inp.substr(i+1),oth+inp.substr(i,1));
}
}
int
main(int argc,char** argv)
{
permute(abcd,);
return 0;
}

( you can draw recursion tree and how it works).


thx,

thayumanavar s.

-- 
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.



[algogeeks] structure padding

2011-10-01 Thread rahul sharma
in structure we want adress to be multiple of the max size variable of
structure.
mean i have
struct
{
int
float
 char}
then multiple of 4


struct
{
short int
int
}
then multiple of 2.
m i ryt

-- 
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] Microsoft

2011-10-01 Thread shady
does it actually work ?
i think such kind of mails to recruiters directly go to spam.

On Sun, Oct 2, 2011 at 8:07 AM, rahul sharma rahul23111...@gmail.comwrote:

 every company hire off campus ...just type company name followed by
 carrers..n apply...simple.


 On Sun, Oct 2, 2011 at 12:47 AM, Manish Verma jalsa.n.sa...@gmail.comwrote:

 Does microsoft hire off-campus???..if yes, then what is their
 process???..n what type of questions they ask???...what about
 google???

 actually i've gone through microsoft's collg hiring process.it was
 closebut hard luck,anyway..so gonna try after 6 months.

 --
 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] Re: Needed recursive sol

2011-10-01 Thread rahul sharma
gr 8 soln...thnx

2011/10/2 akanksha akanksha.271...@gmail.com

 int sum(int f0,int f1)
 {
if(f1=1000)
{
int x= sum(f1,f0+f1);
if(f1%2==0) x+=f1;
return x;
}
else
return 0;
 }

 --
 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] Microsoft

2011-10-01 Thread rahul sharma
i dont think sofor fresher its best throug campusotherwise at
least1-2 year experience needed...for ms u can go
https://careers.microsoft.com/search.aspx...there are lot of openings..

On Sun, Oct 2, 2011 at 10:28 AM, shady sinv...@gmail.com wrote:

 does it actually work ?
 i think such kind of mails to recruiters directly go to spam.


 On Sun, Oct 2, 2011 at 8:07 AM, rahul sharma rahul23111...@gmail.comwrote:

 every company hire off campus ...just type company name followed by
 carrers..n apply...simple.


 On Sun, Oct 2, 2011 at 12:47 AM, Manish Verma jalsa.n.sa...@gmail.comwrote:

 Does microsoft hire off-campus???..if yes, then what is their
 process???..n what type of questions they ask???...what about
 google???

 actually i've gone through microsoft's collg hiring process.it was
 closebut hard luck,anyway..so gonna try after 6 months.

 --
 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] Re: Needed recursive sol

2011-10-01 Thread Siddhartha Banerjee
there must be a non brute force approach too rite???

-- 
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] Microsoft

2011-10-01 Thread shady
ok, thanks :)

On Sun, Oct 2, 2011 at 10:35 AM, rahul sharma rahul23111...@gmail.comwrote:

 i dont think sofor fresher its best throug campusotherwise at
 least1-2 year experience needed...for ms u can go
 https://careers.microsoft.com/search.aspx...there are lot of openings..


 On Sun, Oct 2, 2011 at 10:28 AM, shady sinv...@gmail.com wrote:

 does it actually work ?
 i think such kind of mails to recruiters directly go to spam.


 On Sun, Oct 2, 2011 at 8:07 AM, rahul sharma rahul23111...@gmail.comwrote:

 every company hire off campus ...just type company name followed by
 carrers..n apply...simple.


 On Sun, Oct 2, 2011 at 12:47 AM, Manish Verma 
 jalsa.n.sa...@gmail.comwrote:

 Does microsoft hire off-campus???..if yes, then what is their
 process???..n what type of questions they ask???...what about
 google???

 actually i've gone through microsoft's collg hiring process.it was
 closebut hard luck,anyway..so gonna try after 6 months.

 --
 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] Re: Needed recursive sol

2011-10-01 Thread rahul sharma
yea...first sol is brute force...but this is not..that is posted by
akanshai think...but not sure...the question wants only
recursivehoope sumone may come with sumthng new

On Sun, Oct 2, 2011 at 10:35 AM, Siddhartha Banerjee 
thefourrup...@gmail.com wrote:

 there must be a non brute force approach too rite???

 --
 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] Re: Needed recursive sol

2011-10-01 Thread shady
this is bruteforce. You are calculating all fib. numbers.

On Sun, Oct 2, 2011 at 10:38 AM, rahul sharma rahul23111...@gmail.comwrote:

 yea...first sol is brute force...but this is not..that is posted by
 akanshai think...but not sure...the question wants only
 recursivehoope sumone may come with sumthng new


 On Sun, Oct 2, 2011 at 10:35 AM, Siddhartha Banerjee 
 thefourrup...@gmail.com wrote:

 there must be a non brute force approach too rite???

 --
 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] Re: Needed recursive sol

2011-10-01 Thread Marcelo Amorim Menegali
Using Wladimir's formulas, you have:

F(0) + F(1) + F(2) + F(3) + F(4) + F(5) + F(6) + ... + F(3n-2) + F(3n-1) +
F(3n) = F(3n+2) - 1
F(0) +(F(1) + F(2))+ F(3) +(F(4) + F(5))+ F(6) + ... +(F(3n-2) + F(3n-1))+
F(3n) = F(3n+2) - 1
F(0) + 2F(3) + 2F(6) + ... + 2F(3n) = F(3n+2) - 1

Since F(0) = 0,
F(0) + F(3) + F(6) + ... + F(3n) = (F(3n+2) - 1)/2


Marcelo Menegali

On Sun, Oct 2, 2011 at 2:10 AM, shady sinv...@gmail.com wrote:

 this is bruteforce. You are calculating all fib. numbers.


 On Sun, Oct 2, 2011 at 10:38 AM, rahul sharma rahul23111...@gmail.comwrote:

 yea...first sol is brute force...but this is not..that is posted by
 akanshai think...but not sure...the question wants only
 recursivehoope sumone may come with sumthng new


 On Sun, Oct 2, 2011 at 10:35 AM, Siddhartha Banerjee 
 thefourrup...@gmail.com wrote:

 there must be a non brute force approach too rite???

 --
 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.



  1   2   >