Recent questions tagged goclasses-cs-dpp-day-101

6 6 votes
2 2 answers
1.3k
1.3k views
Suppose four characters A, B, C, D have the frequencies $15, 8, 6,$ and $5$, respectively. After constructing the optimal Huffman code for this alphabet, what is the tota...
5 5 votes
3 3 answers
1.2k
1.2k views
A project manager has broken down a project into $8$ tasks: $A, B, C, D, E, F, G,$ and $H$. The dependencies between the tasks are shown in the directed graph below. A va...
5 5 votes
2 2 answers
814
814 views
An algorithm performs a linear search for an element $k$ in an integer array of size $N$. The algorithm iterates through the array sequentially, starting from the first e...
11 11 votes
2 2 answers
860
860 views
Let $S$ be a sorted array of $n$ distinct positive integers. Let $T(n)$ denote the time complexity of the most efficient algorithm to determine if there exist three indic...
6 6 votes
2 2 answers
664
664 views
If one uses the binary exponentiation (exponentiation by squaring) method to compute $a^{55}$, which of the following intermediate powers of $a$ is calculated but NOT use...
To see more, click for the full list of questions or popular tags.