Question
Which of the following statement is/are true?
> I) Only three boxes are kept between V and U II) Box Q has kept immediately above Box T III)  Box U and Box W are kept on an adjacent shelf IV) No boxes kept below S Study the following information carefully and answer the below questions Eight boxes – Q, R, S, T, U, V, W and X are kept one above another in the eight different shelves such that the lowermost shelf is numbered as one and the topmost shelf is numbered as eight. All the information is not necessarily in the same order. Box U has kept two shelves above box Q. Box X has kept immediately below box Q and kept at an even number position. The number of shelves above U is the same as the number of shelves below R. Box T has kept two shelves above box W. Box V has kept above Box S. At least three boxes are kept between V and S.Solution
We have, Box U has kept two shelves above box Q. Box X has kept immediately below box Q and kept at an even number position. From the above condition, there are two possibilities. Again we have, Box V has kept above Box S. At least three boxes are kept between V and S. From the above condition, case2 and case2a get eliminated. Case1 shows the final arrangement.
Dynamic Programming is preferred over recursion when:
What is the primary purpose of normalization in database design?
Which data structure is typically used to implement Breadth-First Search (BFS)?
Which of the following is true for Dijkstra’s algorithm?
Which component of a network ensures that data is delivered to the correct host in a multi-host environment?
Which of the following is true for a min-heap?
What is the worst-case time complexity of Bubble Sort?
Which algorithm is best suited to find the shortest path in a graph with negative edge weights but no negative cycles?
Which type of firewall operates at the application layer of the OSI model and inspects incoming and outgoing data packets?
What is the primary role of a hypervisor in a virtual machine (VM) environment?