Question
The sum of digits of a two-digit number is 10. When the
digits are reversed, the number decreases by 54. Find the changed number.Solution
Let the unit digit =x and tens =y 10y + x After reversed digit =10x+y ATQ- 10x+y-10y-x =54 9x -9y =54. x-y =6 x + y =10 x =2, y =8. Original number =82 Change number =28.
What is false about linked list?
Which layer of the TCP/IP model is responsible for IP addressing and routing?
Which hazard occurs when there is a conflict in accessing a shared resource, such as a register file or an ALU, in an instruction pipeline?
Which consensus mechanism is used by Bitcoin, the first blockchain-based cryptocurrency?
In dynamic programming, what does "optimal substructure" mean?
What is a "token" in lexical analysis?
Which sorting algorithm is known for its best-case time complexity of O(n) when the input is already partially sorted?
Which data visualization technique is commonly used to represent the frequency distribution of a large dataset?
An XML document is a string of ____.
Which of the following algorithm is most sensitive to outliers?