computer-science
Prims Algorithm Total Running time!
\"Thus, the total time for Prim\'s algorithm is O(V lg V + E lg V) = O(E lg V), which is asymptotically the same as fo开发者_运维技巧r our implementation of Kruskal\'s algorithm.\"[详细]
2023-03-12 19:31 分类:问答Implementing an N process barrier using semaphores
I\'m currently training for an OS exam with previous iterations and I came across this: Implement a "N Process Barrier", that[详细]
2023-03-12 06:57 分类:问答Priority inversion
I am having problem understanding Priority Inversion Snippet from the article: Consider there is a task L, with low[详细]
2023-03-10 22:33 分类:问答Basic Velocity Algorithm?
Given the following dataset for a single article on my site: Article 1 2/1/2010 100 2/2/2010 80 2/3/2010 60[详细]
2023-03-10 03:13 分类:问答Runtime Locatable Code
I have read Runti开发者_开发问答me Locatable code in a discussion forum, Actually what is that rumtime locatable code mean?There are a number of possibilities for what they\'re referring to, but what[详细]
2023-03-09 09:12 分类:问答Logic Gates: Realize OR gate using ONLY XOR gates
I am doing some revision for开发者_开发百科 my exams and one of the questions that frequently asked in last year question paper is how to realize a OR gate using only XOR gates. I am trying to do from[详细]
2023-03-07 19:14 分类:问答database refinement - minimal cover of F (extraneous attributes)
Schema R = (A, B, C, D, E, F) FD F = {ABC -> D, CD -> B, BCF -> D, CDF -> BE, BCDF -> E}开发者_StackOverflow中文版[详细]
2023-03-06 13:14 分类:问答Complexity (beginner question)
What is the开发者_如何学编程 complexity of these statements? for(int k = 1; k < n; k++) for(int i = 0; i < n-k; i++){[详细]
2023-03-05 17:12 分类:问答Deletion in Heap with parent pointers in O(1) time?
So here\'s the question: Suppose as min heap uses parent pointers such that each node contains a pointer to its parent and the root has a null pointer. Given a pointer to the node, which isn\'t the ro[详细]
2023-03-04 20:07 分类:问答Why is an "unstable sort" considered bad
Just wondering if someone could explain why an \"unstable sort\" is considered bad? Basically I don\'t see any situations where开发者_如何学编程 it would really matter. Could anyone care to provide on[详细]
2023-03-04 19:56 分类:问答