Recent content by mooncrater
-
Different Node Deletion/Insertion in a Binary Search Tree
This might suffice.- mooncrater
- Post #6
- Forum: Programming and Computer Science
-
Different Node Deletion/Insertion in a Binary Search Tree
Thanks for you people replying out there. I just got the answer, and well, it's simple ( and a little embarrassing too!). My predecessor method isn't optimal. It can be made in ##O(h)##. So We can get INSERT and DELETE to work in ##O(h)##. Thanks. Moon.- mooncrater
- Post #5
- Forum: Programming and Computer Science
-
Different Node Deletion/Insertion in a Binary Search Tree
What happens, if instead of having any pointer pointing to a node's parent, we had pointer pointing to the node's successor? We know, that Searching would remain the same. But in my opinion Insertion and Deletion would change. This would happen, because in insertion, we would be needed to find...- mooncrater
- Thread
- Algorithms Asymptotics Binary Search Tree Trees
- Replies: 5
- Forum: Programming and Computer Science
-
Undergrad Asymptotics for finding the successors in a Binary Tree
Well, that's what I tried to do. Instead of taking the whole range of the tree, I considered a range ##k## that is less than ##n## (the total number of elements), By starting from the elements who need ##h## loop runs, in order to find their successor. And as ##k## increases, I included other...- mooncrater
- Post #3
- Forum: General Math
-
Undergrad Asymptotics for finding the successors in a Binary Tree
Consider the algorithms : TREE-SUCCESSOR(x) 1. if x.right_child !=NIL 2. return TREE-MINIMUM(x.right_child) 3. y=x.parent 4. while y != NIL and x == y.right_child 5. x = y 6. y = y.parent 7. return y TREE-MINIMUM(x) 1. while x.left_child != NIL 2. x = x.left_child...- mooncrater
- Thread
- Algorithms Asymptotics Binary Tree
- Replies: 3
- Forum: General Math
-
Undergrad What is the Upper Bound of this Summation?
Sorry, forgot about the expansion of the majestic ##e^{x}## itself. Moon.- mooncrater
- Post #7
- Forum: Calculus
-
Undergrad What is the Upper Bound of this Summation?
Sorry, but I'm facing a problem again. I found about incomplete gamma functions on wikipedia: https://en.wikipedia.org/wiki/Incomplete_gamma_function And I found that the upper incomplete gamma function, and the limiting function( defined as ##\gamma *##) suffice my needs. As it's given that ...- mooncrater
- Post #4
- Forum: Calculus
-
Undergrad What is the Upper Bound of this Summation?
There is this summation, that I've been trying to solve, but am not able to do so. It is : $$\sum\limits_{i=k}^{n} \frac {1}{(n-i)! m^{i-1}}$$ I would be happy to find it's upper bound too. So what I did was intensely naive. I made the denominator the minimum by making ##(n-i)! = 1## and...- mooncrater
- Thread
- Bound Summation Upper bound
- Replies: 6
- Forum: Calculus
-
Euler circuit in a directed multigraph
Homework Statement So the question is: Show that a directed multigraph having no isolated vertices has an Euler circuit if and only if the graph is weakly connected and the in degree and out degree of each vertex are equal.Homework Equations Euler circuit: A circuit that has all edges of the...- mooncrater
- Thread
- Circuit Euler Graphs
- Replies: 2
- Forum: Calculus and Beyond Homework Help
-
Proving Cut Vertices in Simple Graphs
Thanks! I got it now.☺ Moon.- mooncrater
- Post #3
- Forum: Calculus and Beyond Homework Help
-
Proving Cut Vertices in Simple Graphs
Homework Statement The given question is: Show that a simple graph with at least two vertices has at least two vertices that are not cut vertices.Homework Equations Cut vertices: The removal of cut vertices and all edges incident to them produces a subgraph more connected components than in the...- mooncrater
- Thread
- Cut Graphs
- Replies: 2
- Forum: Calculus and Beyond Homework Help
-
Engineering Calculating current and voltage of a rectifier circuit
Homework Statement The question is : "A step down transformer having turns ratio 10:1 and input 230 V,50 Hz is used in a half wave rectifier. The diode forward resistance is 15 ohms and resistance of secondary winding is 10 ohms . For a load resistance of 4 kilo ohms, calculate the average and...- mooncrater
- Thread
- Circuit Current Rectifier Voltage
- Replies: 3
- Forum: Engineering and Comp Sci Homework Help
-
Collector Current: Majority & Minority Carriers
Homework Statement In my book ,I found this line which says ,"The collector current comprises two components-the majority and the minority carriers .The minority-current component is called the leakage current and is given the symbol ##I_{CO}## .The collector current, therefore is determined in...- mooncrater
- Thread
- Bjt Collector Current Semiconductor
- Replies: 1
- Forum: Engineering and Comp Sci Homework Help
-
Minimum and maximum number of bits required....
Okay! Thats just a different ( and non-efficient) way of representing numbers. Thanks..:)- mooncrater
- Post #3
- Forum: Engineering and Comp Sci Homework Help