[algogeeks] If anyone have Software Engineering Concepts By Richards E. Fairley Ebook then please mail me

2011-04-27 Thread D.N.Vishwakarma@IITR
Thanks in advance

-- 
**With Regards
Deoki Nandan Vishwakarma
IITR MCA
Mathematics Department*
*

-- 
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] N queen problem in 3D I want guidelines to solve problem

2011-04-27 Thread ARM1610
Hello all,
 I'm not getting how to solve a 3 d version of n queen problem. The 
specification are A n*n*n board is given, arrange n*n queens such that not a 
single queen crosses(kills) any other queen. Use back tracking or divide and 
conquer.

   All solutions / suggestions are welcome !!
Thanking You in advance !!

Regards 
Ashish 
VIT Pune 




-- 
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] [brain teaser ] Short Riddle 27 april

2011-04-27 Thread Lavesh Rawat
* Short Riddle

 How far can a dog run into the forest?

*
*Update Your Answers at* : Click
Herehttp://dailybrainteaser.blogspot.com/2011/04/short-riddle-27-april.html?lavesh=lavesh

Solution:
Will be updated after 1 day




-- 

Never explain yourself. Your friends don’t need it and
your enemies won’t believe it .

-- 
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: Stroustrup C++ BOOK

2011-04-27 Thread Tushar Bindal
I have the book
but I hope there are no issues with ths book being shared here. I don't have
the link now.
would it be fine if I share the book directly?

-- 
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: Stroustrup C++ BOOK

2011-04-27 Thread raj singh
pls send me too.

-- 
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: Stroustrup C++ BOOK

2011-04-27 Thread Don
I have the first edition signed by Stroustrup. I know that doesn't
help you, but it is kind of cool, at least if you are an Algorithm
Geek.
Don

On Apr 23, 8:31 am, UMESH KUMAR kumar.umesh...@gmail.com wrote:
 hi.

 Do you have anybody C++ by Stroustrup
 e-book please send on group.

 Thanks and Regards

 Umesh kumar

-- 
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: N queen problem in 3D I want guidelines to solve problem

2011-04-27 Thread Don
Number the board locations 0..n^3-1.

Write a function

bool search(int startingLocation, int queensToPlace)

If queensToPlace is zero, this is your base case. Output the board and
you are done.
The function loops over the locations from the startingLocation to the
end of the board.
If each location is a legal spot to place a queen, put one there and
call search recursively starting at your current location+1, placing
one fewer queens.
Remove the queen from that location and move on to the next.

I didn't say much about how to determine is a move is legal. The brute
force method of scanning every line for another queen is complicated
and slow. A better way is to maintain a mapping from each board
location to the rows it belongs to. In a 3D board a location might
belong to as many as 13 rows. For each row, keep a count of how many
queens are in that row. A move is not legal if any of the rows already
contain a queen. When you place a queen you must update (increment)
all of the rows for that location, and when you remove it, you must
decrement the counts.

Don

On Apr 27, 3:08 am, ARM1610 ashishrmod...@gmail.com wrote:
 Hello all,
          I'm not getting how to solve a 3 d version of n queen problem. The
 specification are A n*n*n board is given, arrange n*n queens such that not a
 single queen crosses(kills) any other queen. Use back tracking or divide and
 conquer.

                All solutions / suggestions are welcome !!
 Thanking You in advance !!

 Regards
 Ashish
 VIT Pune

-- 
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: imporatnt(need help)

2011-04-27 Thread UTKARSH SRIVASTAV
i think mca students need to first study and then try to answer people like
saurabh(.bashrc) and kaml is really not innocent but a cheater and this is
really a disgrace to anyone remotely related with coding .All the MCA guys
supporting them you should leave coding and should write man pages to b-tech
students and documentations for notepad..

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