the LL has to be a DLL as deletion would be a prob otherwise. Best Regards Ashish Goel "Think positive and find fuel in failure" +919985813081 +919966006652
On Sat, Oct 1, 2011 at 9:42 AM, SAMM <somnath.nit...@gmail.com> wrote: > Linked List + Hash table will serve the purpose in O(1). > > On 9/30/11, Adi Srikanth <adisriika...@gmail.com> wrote: > > if space complexity is not a constraint..u can use any kind of hashing > and > > its function.....depends on the kind of data we store..if its numbers go > for > > square or simple linear function.... > > > > > > Regards, > > Adi Srikanth. > > Mob No 9887233349 > > Personal Pages: adisrikanth.co.nr > > > > > > On Fri, Sep 30, 2011 at 9:43 PM, Devesh Mittal > > <devesh.vey...@gmail.com>wrote: > > > >> Fibonacci Heaps > >> > >> > >> On Fri, Sep 30, 2011 at 9:14 PM, manish kapur > >> <manishkapur.n...@gmail.com>wrote: > >> > >>> u have to perform following tasks in O(1) time > >>> 1.)insertion > >>> 2.)deletion > >>> 3.)searching > >>> no range of input numbers is given > >>> wat data structure will you use? > >>> if u use hashing wat will be the key and value pairs? > >>> > >>> -- > >>> 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. > > > > > > > -- > 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.