Write an algorithm program in java for the following question..

1) S is a set of integers.X is an integer obtained by sum of two digits in S.
Write logic for whether or not the X is from the S.
The time of algorithm should not exceed o(n logn).


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More Core Java Interview Questions

Can we override tostring method in java?

0 Answers  


What is bubble sorting in java?

0 Answers  


What is high level language in computer?

0 Answers  


Explain the difference between abstract class and interface in java?

0 Answers  


Can we inherit the constructor in a Class?please give one example.

9 Answers   iGate,






How can you make a class serializable in java?

0 Answers  


What is a java developer salary?

0 Answers  


What is the difference between multitasking and multithreading in Java

0 Answers   Sans Pareil IT Services,


What is difference between float and double?

0 Answers  


Is set ordered in java?

0 Answers  


What is application system?

0 Answers  


How do you call a reference in java?

0 Answers  


Categories