Question
Saurabh can complete a piece of work in 20 days. He
worked for 5 days and left. Anirudh completed the remaining work in 12 days. If both of them had done the work together, the work would have been completed in how many days?Solution
Saurabh can complete a piece of work in 20 days=1 Saurabh can complete a piece of work in 1 days=1/20 After 5 days =5/20=¼ remaining work=1-¼=¾ ATQ- Anirudh ¾ =12days Anirudh can do a work =16 days so now Saurabh       Anirudh 20                16          80 4                  5 Saurabh and Anirudh had done work complete=80/5+4 =80/9 = 889days Â
The "load factor" of a hash table is a critical metric. What does it represent?
Predict the output
list1 = ['physics', 'chemistry', 1997, 2000]
list2 = [1, 2, 3, 4, 5, 6, 7 ]
print "list1[0]: ", list1[0]Â Â Â ...
Which of the following is a default connector for Shielded twisted pair?
Consider a singly linked list: 1 -> 2 -> 3 -> 4 -> None. If a delete_node(head, 3) function is called (which deletes the node with value 3), what will b...
Which type of inheritance in C++ allows a class to inherit from more than one base class?
Which of these is a key characteristic of SaaS (Software as a Service)?
Which of the following best explains why communication latency is generally higher in microservices compared to monolithic architectures?Â
A C function attempts to find a substring.
#include
#include
char* find_substring(char* haystack, char* needle...
In a common backtracking approach to generate permutations of a string, elements are swapped to explore different arrangements. Complete the line that s...
When a large number of analog signal is to be converted to digital form, an analog multiplexer is used. The best suites analog to digital converter for ...