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

How many types of exception can occur in a java program?

0 Answers  


what is a thread?

13 Answers   IBM, SunGard,


Can you call a method in a method?

0 Answers  


What do you mean by default constructor in java?

0 Answers  


Can inner class extend any class?

0 Answers  






Explain the use of sublass in a java program?

0 Answers  


What is the difference between the paint() and repaint() methods in java programming?

0 Answers  


What is the difference between a method and a function in alice?

0 Answers  


What is use of inner class in java?

0 Answers  


What are unchecked exceptions in java?

0 Answers  


Can you access non static variable in static context?

0 Answers  


How to override equals() and hashCode() method in java?

1 Answers   Wipro,


Categories