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
How to excute - Interface - Inner class- method can any one tell how to execute/ call this main method public interface abc { static int i=0; void dd(); class a1 { a1() { int j; System.out.println("inside"); }; public static void main(String a1[]) { System.out.println("in interfia"); } } }
What is a instance variable?
Why arraylist is used in java?
What does 3 dots mean in java?
Difference between predicate, supplier and consumer ?
Which variable is the independent variable?
How do you ensure that n threads can access n resources without deadlock?
There are three interfaces A,B & C. A extends B, B extends C, and C extends A.Is it multiple Inheritance? please anybody help me.....
Differentiate between a class and an object.
Can a hashset contain duplicates java?
Tell me the latest versions in java related areas?
explain how many oops concepts available in java with realtime scenarios?