Question
If in the number 524618372, 1 is added to first four
digit of the number and 1 is subtracted from last five digits of the number and then arranged in descending order from left to right, then which of the following is fourth from the left end?Solution
5Â Â Â Â Â Â Â Â Â 2Â Â Â Â Â Â Â Â Â 4Â Â Â Â Â Â Â Â Â 6Â Â Â Â Â Â Â Â Â 1Â Â Â Â Â Â Â Â Â 8Â Â Â Â Â Â Â Â Â 3Â Â Â Â Â Â Â Â Â 7Â Â Â Â Â Â Â Â Â 2Â Â Â Â Â Â Â Â Â 6Â Â Â Â Â Â Â Â Â 3Â Â Â Â Â Â Â Â Â 5Â Â Â Â Â Â Â Â Â 7Â Â Â Â Â Â Â Â Â 0Â Â Â Â Â Â Â Â Â 7Â Â Â Â Â Â Â Â Â 2Â Â Â Â Â Â Â Â Â 6Â Â Â Â Â Â Â Â Â 1 7Â Â Â Â Â Â Â Â Â 7Â Â Â Â Â Â Â Â Â 6Â Â Â Â Â Â Â Â Â 6 Â Â Â Â Â Â Â Â Â 5Â Â Â Â Â Â Â Â Â 3Â Â Â Â Â Â Â Â Â 2Â Â Â Â Â Â Â Â Â 1Â Â Â Â Â Â Â Â Â 0
Consider the following stack operations. What will be the content of the stack after executing all the operations?
Stackstack = new Stack... Priority Queue allows access to elements based on priority rather than order.
Which protocol is used by devices to obtain an IP address automatically in a network?
In Python, what will be the output of the following code snippet, considering scope rules?
x = 5Â Â Â Â Â Â Â Â Â Â Â Â Â Â
Â
What is the best-case time complexity of the binary search algorithm ?
Which of the following data structures is best suited for implementing a "undo" mechanism in a text editor?
Which heap property is correct?
Max-Flow Min-Cut theorem states:
In a binary tree, what is the maximum number of children a node can have?
Which of the following types of software testing ensures that previously working functionality is still operational after changes?