[algogeeks] imegs
gyhg -- You received this message because you are subscribed to the Google Groups Algorithm Geeks group. To post to this group, send email to algoge...@googlegroups.com. To unsubscribe from 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] Brain Teaser
solution is 5 1 6 2 _ _ _ _ 7 3 8 4 On Thu, Nov 11, 2010 at 1:26 PM, Amod gam...@gmail.com wrote: We have a rectangle It is divided in eight parts by three vertical and one horizontal line so that there are 8 chambers. Now we have numbers from 1-8 to be filled in these chambers. Rule : No two consecutive numbers must be present either side to side or diagonal Invalid situation example Given 5 at position 2 then 4 cannot occur at any of the give position. 4 5 4 _ _ _ _ 4 4 4 _ _ _ _ -- You received this message because you are subscribed to the Google Groups Algorithm Geeks group. To post to this group, send email to algoge...@googlegroups.com. To unsubscribe from this group, send email to algogeeks+unsubscr...@googlegroups.comalgogeeks%2bunsubscr...@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 algoge...@googlegroups.com. To unsubscribe from 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: optimization algoritm for classification
I think in this case actually the date does matter. Can you think this problem as a regression problem. Given two coordinates date and prices, we are actually trying to find minimum number of line segments that fit the data best. What I mean by best fit to data is actually the exact criteria you are looking for: the line segments are chosen such that the prices are close to the average price (which is the line segment representing the date range). A problem called sequence segmentation might be of use to you. Check this paper for detailed discussion of a DP solution; http://scholar.google.com.tr/scholar?cluster=806851568786670722hl=tras_sdt=2000 On Nov 10, 5:03 pm, leoV threemoreh...@xs4all.nl wrote: The dates are arbitrary subsets. not necessarily consecutive. You can see it as an initial set with dates and prices, that need to be published in a limited number of columns, with from-until date. The offset from the individual price values referenced to the calculated average of a period must be minimized. leo On 9 nov, 20:59, Gene gene.ress...@gmail.com wrote: Should the dates in the classes be consecutive? Or are the classes arbitrary subsets? On Nov 9, 11:04 am, leoV threemoreh...@xs4all.nl wrote: I need to classify a number (1000 to 1) of key-value pairs in a maximum number of classes (usually 25 to 50) in such way that the deviations to the average of each class are minimized. The keys are unique dates and the vale is a decimal numeric value. Any hints or samples or references to methods? thx leo -- You received this message because you are subscribed to the Google Groups Algorithm Geeks group. To post to this group, send email to algoge...@googlegroups.com. To unsubscribe from 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] REAL HOT SEX PHOTOSVIDEOS
FOR SAVE WATER AND CHILD PROTECTION http://savewaterinworld.blogspot.com ASTHASINGAL IN A BATHROOM http://babes-devi.blogspot.com/2010/08/asthasingal-in-bath.html SNEHA HOT SEX PHOTOS http://babes-devi.blogspot.com/2010/08/sneha-hot-sexy-photos.html ARTHICHABRIA BEAUTIFUL PHOTOS http://babes-devi.blogspot.com/2010/08/aarthi-chabria-hot-photos.html ANUSHKA UNBELIVABLE PHOTOS http://babes-devi.blogspot.com/2010/06/anuskha-sex-images.html THRISHA HOT WET PHOTOS http://babes-devi.blogspot.com/2010/06/thrisha-hot-wet-photos.html NAMITHA EXTORDINARY PHOTOS http://babes-devi.blogspot.com/2010/06/nayagarala-namitha.html SHRIYA SARAN SEXY PHOTOS http://babes-devi.blogspot.com/2010/08/shriya-saran-hot-photos.html -- You received this message because you are subscribed to the Google Groups Algorithm Geeks group. To post to this group, send email to algoge...@googlegroups.com. To unsubscribe from 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] Brain Teaser
1 5 2 6 - - - - - - 3 7 4 8 On Thu, Nov 11, 2010 at 3:16 PM, Abhilasha jain mail2abhila...@gmail.comwrote: solution is 5 1 6 2 _ _ _ _ 7 3 8 4 On Thu, Nov 11, 2010 at 1:26 PM, Amod gam...@gmail.com wrote: We have a rectangle It is divided in eight parts by three vertical and one horizontal line so that there are 8 chambers. Now we have numbers from 1-8 to be filled in these chambers. Rule : No two consecutive numbers must be present either side to side or diagonal Invalid situation example Given 5 at position 2 then 4 cannot occur at any of the give position. 4 5 4 _ _ _ _ 4 4 4 _ _ _ _ -- You received this message because you are subscribed to the Google Groups Algorithm Geeks group. To post to this group, send email to algoge...@googlegroups.com. To unsubscribe from this group, send email to algogeeks+unsubscr...@googlegroups.comalgogeeks%2bunsubscr...@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 algoge...@googlegroups.com. To unsubscribe from this group, send email to algogeeks+unsubscr...@googlegroups.comalgogeeks%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en. -- Rohit Singhal B.Tech. Part-IV, Department Of Electronics Engineering, Centre of Advanced Studies, Institute Of Technology, BHU -- You received this message because you are subscribed to the Google Groups Algorithm Geeks group. To post to this group, send email to algoge...@googlegroups.com. To unsubscribe from 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] Brain Teaser
mistake in solution.4 and 5 are diagonally adjacent to each other... On Thu, Nov 11, 2010 at 5:09 PM, Rohit Singhal rsinghal.it...@gmail.comwrote: 1 5 2 6 - - - - - - 3 7 4 8 On Thu, Nov 11, 2010 at 3:16 PM, Abhilasha jain mail2abhila...@gmail.comwrote: solution is 5 1 6 2 _ _ _ _ 7 3 8 4 On Thu, Nov 11, 2010 at 1:26 PM, Amod gam...@gmail.com wrote: We have a rectangle It is divided in eight parts by three vertical and one horizontal line so that there are 8 chambers. Now we have numbers from 1-8 to be filled in these chambers. Rule : No two consecutive numbers must be present either side to side or diagonal Invalid situation example Given 5 at position 2 then 4 cannot occur at any of the give position. 4 5 4 _ _ _ _ 4 4 4 _ _ _ _ -- You received this message because you are subscribed to the Google Groups Algorithm Geeks group. To post to this group, send email to algoge...@googlegroups.com. To unsubscribe from this group, send email to algogeeks+unsubscr...@googlegroups.comalgogeeks%2bunsubscr...@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 algoge...@googlegroups.com. To unsubscribe from this group, send email to algogeeks+unsubscr...@googlegroups.comalgogeeks%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en. -- Rohit Singhal B.Tech. Part-IV, Department Of Electronics Engineering, Centre of Advanced Studies, Institute Of Technology, BHU -- You received this message because you are subscribed to the Google Groups Algorithm Geeks group. To post to this group, send email to algoge...@googlegroups.com. To unsubscribe from this group, send email to algogeeks+unsubscr...@googlegroups.comalgogeeks%2bunsubscr...@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 algoge...@googlegroups.com. To unsubscribe from 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] Brain Teaser
@rohit 4 5 are diagonally adjacent . On Thu, Nov 11, 2010 at 5:09 PM, Rohit Singhal rsinghal.it...@gmail.comwrote: 1 5 2 6 - - - - - - 3 7 4 8 On Thu, Nov 11, 2010 at 3:16 PM, Abhilasha jain mail2abhila...@gmail.comwrote: solution is 5 1 6 2 _ _ _ _ 7 3 8 4 On Thu, Nov 11, 2010 at 1:26 PM, Amod gam...@gmail.com wrote: We have a rectangle It is divided in eight parts by three vertical and one horizontal line so that there are 8 chambers. Now we have numbers from 1-8 to be filled in these chambers. Rule : No two consecutive numbers must be present either side to side or diagonal Invalid situation example Given 5 at position 2 then 4 cannot occur at any of the give position. 4 5 4 _ _ _ _ 4 4 4 _ _ _ _ -- You received this message because you are subscribed to the Google Groups Algorithm Geeks group. To post to this group, send email to algoge...@googlegroups.com. To unsubscribe from this group, send email to algogeeks+unsubscr...@googlegroups.comalgogeeks%2bunsubscr...@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 algoge...@googlegroups.com. To unsubscribe from this group, send email to algogeeks+unsubscr...@googlegroups.comalgogeeks%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en. -- Rohit Singhal B.Tech. Part-IV, Department Of Electronics Engineering, Centre of Advanced Studies, Institute Of Technology, BHU -- You received this message because you are subscribed to the Google Groups Algorithm Geeks group. To post to this group, send email to algoge...@googlegroups.com. To unsubscribe from this group, send email to algogeeks+unsubscr...@googlegroups.comalgogeeks%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en. -- Sunny Aggrawal B-Tech IV year,CSI Indian Institute Of Technology,Roorkee -- You received this message because you are subscribed to the Google Groups Algorithm Geeks group. To post to this group, send email to algoge...@googlegroups.com. To unsubscribe from 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] Brain Teaser
4 8 3 7 2 6 1 5 On Thu, Nov 11, 2010 at 5:57 PM, sunny agrawal sunny816.i...@gmail.comwrote: @rohit 4 5 are diagonally adjacent . On Thu, Nov 11, 2010 at 5:09 PM, Rohit Singhal rsinghal.it...@gmail.comwrote: 1 5 2 6 - - - - - - 3 7 4 8 On Thu, Nov 11, 2010 at 3:16 PM, Abhilasha jain mail2abhila...@gmail.com wrote: solution is 5 1 6 2 _ _ _ _ 7 3 8 4 On Thu, Nov 11, 2010 at 1:26 PM, Amod gam...@gmail.com wrote: We have a rectangle It is divided in eight parts by three vertical and one horizontal line so that there are 8 chambers. Now we have numbers from 1-8 to be filled in these chambers. Rule : No two consecutive numbers must be present either side to side or diagonal Invalid situation example Given 5 at position 2 then 4 cannot occur at any of the give position. 4 5 4 _ _ _ _ 4 4 4 _ _ _ _ -- You received this message because you are subscribed to the Google Groups Algorithm Geeks group. To post to this group, send email to algoge...@googlegroups.com. To unsubscribe from this group, send email to algogeeks+unsubscr...@googlegroups.comalgogeeks%2bunsubscr...@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 algoge...@googlegroups.com. To unsubscribe from this group, send email to algogeeks+unsubscr...@googlegroups.comalgogeeks%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en. -- Rohit Singhal B.Tech. Part-IV, Department Of Electronics Engineering, Centre of Advanced Studies, Institute Of Technology, BHU -- You received this message because you are subscribed to the Google Groups Algorithm Geeks group. To post to this group, send email to algoge...@googlegroups.com. To unsubscribe from this group, send email to algogeeks+unsubscr...@googlegroups.comalgogeeks%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en. -- Sunny Aggrawal B-Tech IV year,CSI Indian Institute Of Technology,Roorkee -- You received this message because you are subscribed to the Google Groups Algorithm Geeks group. To post to this group, send email to algoge...@googlegroups.com. To unsubscribe from this group, send email to algogeeks+unsubscr...@googlegroups.comalgogeeks%2bunsubscr...@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 algoge...@googlegroups.com. To unsubscribe from 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] Brain Teaser
Several solutions are possible for it 518 2 736 4 Here we can swap the position of 5-7, 1-3 etc. On Thu, Nov 11, 2010 at 11:48 PM, jagannath prasad das jpdasi...@gmail.comwrote: 4 8 3 7 2 6 1 5 On Thu, Nov 11, 2010 at 5:57 PM, sunny agrawal sunny816.i...@gmail.comwrote: @rohit 4 5 are diagonally adjacent . On Thu, Nov 11, 2010 at 5:09 PM, Rohit Singhal rsinghal.it...@gmail.comwrote: 1 5 2 6 - - - - - - 3 7 4 8 On Thu, Nov 11, 2010 at 3:16 PM, Abhilasha jain mail2abhila...@gmail.com wrote: solution is 5 1 6 2 _ _ _ _ 7 3 8 4 On Thu, Nov 11, 2010 at 1:26 PM, Amod gam...@gmail.com wrote: We have a rectangle It is divided in eight parts by three vertical and one horizontal line so that there are 8 chambers. Now we have numbers from 1-8 to be filled in these chambers. Rule : No two consecutive numbers must be present either side to side or diagonal Invalid situation example Given 5 at position 2 then 4 cannot occur at any of the give position. 4 5 4 _ _ _ _ 4 4 4 _ _ _ _ -- You received this message because you are subscribed to the Google Groups Algorithm Geeks group. To post to this group, send email to algoge...@googlegroups.com. To unsubscribe from this group, send email to algogeeks+unsubscr...@googlegroups.comalgogeeks%2bunsubscr...@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 algoge...@googlegroups.com. To unsubscribe from this group, send email to algogeeks+unsubscr...@googlegroups.comalgogeeks%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en. -- Rohit Singhal B.Tech. Part-IV, Department Of Electronics Engineering, Centre of Advanced Studies, Institute Of Technology, BHU -- You received this message because you are subscribed to the Google Groups Algorithm Geeks group. To post to this group, send email to algoge...@googlegroups.com. To unsubscribe from this group, send email to algogeeks+unsubscr...@googlegroups.comalgogeeks%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en. -- Sunny Aggrawal B-Tech IV year,CSI Indian Institute Of Technology,Roorkee -- You received this message because you are subscribed to the Google Groups Algorithm Geeks group. To post to this group, send email to algoge...@googlegroups.com. To unsubscribe from this group, send email to algogeeks+unsubscr...@googlegroups.comalgogeeks%2bunsubscr...@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 algoge...@googlegroups.com. To unsubscribe from this group, send email to algogeeks+unsubscr...@googlegroups.comalgogeeks%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en. -- With Regards, Shiv Shankar, -- You received this message because you are subscribed to the Google Groups Algorithm Geeks group. To post to this group, send email to algoge...@googlegroups.com. To unsubscribe from 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: how would you find the integer pairs which sum to m in o(n) time complexity
On Oct 27, 8:21 am, MOHIT mohit...@gmail.com wrote: @ruturaj : but for that hash table you have to know range?? Nope we dont need the range. #includemap map int, int hash; for(int i=0;in;i++) if(hash[m-a[i]] 0)count++;hash[a[i]]++; does the trick. -- You received this message because you are subscribed to the Google Groups Algorithm Geeks group. To post to this group, send email to algoge...@googlegroups.com. To unsubscribe from 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: Brain Teaser
Gr8, guys :) If any body can formalize the solution, then it would be great On Nov 12, 12:17 am, Shiv Shankar Prajapati mca.shivshan...@gmail.com wrote: Several solutions are possible for it 5 1 8 2 7 3 6 4 Here we can swap the position of 5-7, 1-3 etc. On Thu, Nov 11, 2010 at 11:48 PM, jagannath prasad das jpdasi...@gmail.comwrote: 4 8 3 7 2 6 1 5 On Thu, Nov 11, 2010 at 5:57 PM, sunny agrawal sunny816.i...@gmail.comwrote: @rohit 4 5 are diagonally adjacent . On Thu, Nov 11, 2010 at 5:09 PM, Rohit Singhal rsinghal.it...@gmail.comwrote: 1 5 2 6 - - - - - - 3 7 4 8 On Thu, Nov 11, 2010 at 3:16 PM, Abhilasha jain mail2abhila...@gmail.com wrote: solution is 5 1 6 2 _ _ _ _ 7 3 8 4 On Thu, Nov 11, 2010 at 1:26 PM, Amod gam...@gmail.com wrote: We have a rectangle It is divided in eight parts by three vertical and one horizontal line so that there are 8 chambers. Now we have numbers from 1-8 to be filled in these chambers. Rule : No two consecutive numbers must be present either side to side or diagonal Invalid situation example Given 5 at position 2 then 4 cannot occur at any of the give position. 4 5 4 _ _ _ _ 4 4 4 _ _ _ _ -- You received this message because you are subscribed to the Google Groups Algorithm Geeks group. To post to this group, send email to algoge...@googlegroups.com. To unsubscribe from this group, send email to algogeeks+unsubscr...@googlegroups.comalgogeeks%2bunsubscr...@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 algoge...@googlegroups.com. To unsubscribe from this group, send email to algogeeks+unsubscr...@googlegroups.comalgogeeks%2bunsubscr...@googlegroups .com . For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en. -- Rohit Singhal B.Tech. Part-IV, Department Of Electronics Engineering, Centre of Advanced Studies, Institute Of Technology, BHU -- You received this message because you are subscribed to the Google Groups Algorithm Geeks group. To post to this group, send email to algoge...@googlegroups.com. To unsubscribe from this group, send email to algogeeks+unsubscr...@googlegroups.comalgogeeks%2bunsubscr...@googlegroups .com . For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en. -- Sunny Aggrawal B-Tech IV year,CSI Indian Institute Of Technology,Roorkee -- You received this message because you are subscribed to the Google Groups Algorithm Geeks group. To post to this group, send email to algoge...@googlegroups.com. To unsubscribe from this group, send email to algogeeks+unsubscr...@googlegroups.comalgogeeks%2bunsubscr...@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 algoge...@googlegroups.com. To unsubscribe from this group, send email to algogeeks+unsubscr...@googlegroups.comalgogeeks%2bunsubscr...@googlegroups .com . For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en. -- With Regards, Shiv Shankar, -- You received this message because you are subscribed to the Google Groups Algorithm Geeks group. To post to this group, send email to algoge...@googlegroups.com. To unsubscribe from 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] HOT ACTRESS WITH SEXY PHOTOS VIDEOS
FOR SAVE WATER AND CHILD PROTECTION http://savewaterinworld.blogspot.com ASTHASINGAL IN A BATHROOM http://babes-devi.blogspot.com/2010/08/asthasingal-in-bath.html SNEHA HOT SEX PHOTOS http://babes-devi.blogspot.com/2010/08/sneha-hot-sexy-photos.html ARTHICHABRIA BEAUTIFUL PHOTOS http://babes-devi.blogspot.com/2010/08/aarthi-chabria-hot-photos.html ANUSHKA UNBELIVABLE PHOTOS http://babes-devi.blogspot.com/2010/06/anuskha-sex-images.html THRISHA HOT WET PHOTOS http://babes-devi.blogspot.com/2010/06/thrisha-hot-wet-photos.html NAMITHA EXTORDINARY PHOTOS http://babes-devi.blogspot.com/2010/06/nayagarala-namitha.html SHRIYA SARAN SEXY PHOTOS http://babes-devi.blogspot.com/2010/08/shriya-saran-hot-photos.html -- You received this message because you are subscribed to the Google Groups Algorithm Geeks group. To post to this group, send email to algoge...@googlegroups.com. To unsubscribe from this group, send email to algogeeks+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.