Question
If in the number '647315368', 1 added to all the odd
numbers, then what is the sum of the digits which are repeating more than two times in the new number thus formed? Note: While taking the sum the repeating digit is to be considered only once.Solution
6Â Â Â Â Â Â Â Â Â 4Â Â Â Â Â Â Â Â Â 7Â Â Â Â Â Â Â Â Â 3Â Â Â Â Â Â Â Â Â 1Â Â Â Â Â Â Â Â Â 5Â Â Â Â Â Â Â Â Â 3Â Â Â Â Â Â Â Â Â 6Â Â Â Â Â Â Â Â Â 8 6Â Â Â Â Â Â Â Â Â 4Â Â Â Â Â Â Â Â Â 8Â Â Â Â Â Â Â Â Â 4Â Â Â Â Â Â Â Â Â 2Â Â Â Â Â Â Â Â Â 6Â Â Â Â Â Â Â Â Â 4Â Â Â Â Â Â Â Â Â 6Â Â Â Â Â Â Â Â Â 8 So, the digits that are repeating more than two times are '6' and '4'. So, sum = (6 + 4) = 10.
What is the default shell in most Linux distributions?
What is an algorithm?
Accessing the data value or message value which may even cause a function invocation, is called?
Type-checking is normally done during
- Which one of the following algorithm design techniques is used in finding all pairs of shortest distances in a graph?
What is the time complexity of searching an element in a balanced binary search tree?
In the first step of the TCP three-way handshake, what does the client (initiator) do?
What is the role of a software architect in the software development process?
Which application layer protocol is primarily used for securely transferring files over a network?
Which layer of the OSI model interacts directly with the user or application software?