Question
If in the number '7243564', 1 is subtracted from all the
odd digits and 2 is added to all the even digits then all the numbers which are not repeated more than once are deleted then what is the product of first three numbers from left end?Solution
7Â Â Â Â Â Â Â Â Â 2Â Â Â Â Â Â Â Â Â 4Â Â Â Â Â Â Â Â Â 3Â Â Â Â Â Â Â Â Â 5Â Â Â Â Â Â Â Â Â 6Â Â Â Â Â Â Â Â Â 4 6Â Â Â Â Â Â Â Â Â 4Â Â Â Â Â Â Â Â Â 6Â Â Â Â Â Â Â Â Â 2Â Â Â Â Â Â Â Â Â 4Â Â Â Â Â Â Â Â Â 8Â Â Â Â Â Â Â Â Â 6 6Â Â Â Â Â Â Â Â Â 4Â Â Â Â Â Â Â Â Â 6Â Â Â Â Â Â Â Â Â 4Â Â Â Â Â Â Â Â Â 6 So, the product of first three number is = (6 X 4 X 6) = 144.
What is the output of the following recursive function call func(3) ?
int func ( int n) {Â Â Â Â Â Â Â
   if (n == 0 ) return 1 ; <...
Which feature of OOP allows hiding implementation details while showing only the necessary functionality?
Which traversal method visits the root node first in trees?
Which type of AI is primarily used for adaptive mobile applications like virtual assistants?
- Artificial Intelligence
Which of the following statements best describes the role of a reinforcement learning agent in a complex environment?
... Which of the following is a key principle of the SOLID design principles that focuses on ensuring a class has only one reason to change?
- Internet of Things (IoT)
In an IoT ecosystem, which protocol is most efficient for constrained devices communicating over lossy networks?
... In system design, what is the primary purpose of a feasibility study?
Which of the following is NOT a valid feature of IPv6 compared to IPv4?
Which type of database key is a candidate key that has not been chosen as the primary key?