i liked that idea, lets say we've got k tree where each one got one node. we know that there is no algorithm that can sort with better than teta(klogk) so, in order to sort the nodes in array and scan an empty tree to insert them, it will takes at least teta(klogk)
Hesham Yassin
Posts
-
merge k AVL trees complexity -
merge k AVL trees complexityHello everybody i am trying to disprove the claim: the time complexity of merging K AVL trees is O(the sum of their nodes number) i tried to calculate the complexity of meging K AVL trees but there could be more than one algorithm. How do i disprove the claim. Thanks
-
BackSpace buttontry to use the ASCII code for backspace instead of using the enum Key
-
how to ban multi-application to run?There are certain programs that if we try to run them more than one time by clicking their icon, we get the recent opened one like Winamp or messenger or anti-virus programs. does such programs ban such a thing through the constructor? Thanks, Hesham
-
Serialization QuestionThe problem is in the second program. Try to deserialize your class in an object variable. if it's working then the problem might be in the way you defined the class structure in the second program. if the solution of the "object variable" didn't work then the problem might be in the code! wish this help!
-
How do I fix this error?try to change the input parameters of the Constructor
-
[Message Deleted]fuck off sick psychos
modified on Thursday, October 16, 2008 1:57 PM
-
how to save a Stream classthank u guys, i got the point!
-
[Message Deleted][Message Deleted]
-
how to save a Stream classtheoretically u r right but in the "Stream" class there is no "Length" property. :sigh:
-
how to save a Stream classif i got data in a Stream class, how can i save it to a directory? please help, thanks
-
read from serialport problem -
multi threadingsearch in msdn for Boolean Threading
-
[STAThread] ?this threrad is for keeping updating the GUI of your form i think!
-
Do something while the mouse button is downyou can do it using two events: 1. when mouse down 2. when mouse get off the button range in step #1, you know that the mouse is down. in step #2 you know that the mouse left the button, then you can stop the thread you started in the first event!:):):):)
-
How to play at the same time 2 or more soundsif you wanna be not useful, combine both of the music files to a one file by reading the binary data, then play the new file. it's smart but unuseful ;P
-
Graphics to Fileserialize it
-
Creating object stops execution of entire functionturn MyObject class to a static one, if you cannot, i think i had the same problem with DirectX, where i tried to identify a class which contains a directX identifications. it threw me a bizzar exception. and what i did is putting a breakpoint and run the program pressing F10, at first, it threw me an exception but thenit ran normally. try that. it's so fool but you don't encounter this exception in *.exe file!
-
MultiThreadinguse System.Threading.ThreadStart delegate instead of Thread
-
Cross-thread ToolStripButton updateuse a synchronous calls using a timer