## Recent Interview Questions

More Questions »- 0of 0 votes
Anybody knows what will be the career path for Technical Consultant at SAP? I am MCA student, got hired at SAP(Banglore) , wanted to know what is it worthy to join SAP for technical consultant role? (for Pay , career n future opportunities wise)..Thanks in Advance...Bit of information will help me choosing my career

- 0of 0 votes
Find whether a number (which is less than 10000) is a perfect square or not. If it is perfect square, calculate square root in O(1) without using sqrt function.

Example : 1024 => 32

1025=> not perfect square.

- 0of 0 votes
Given a String find the first non repeating char in a single pass of the string.

Assume a big character set like utf-8 (eleminate use of char[256])

Avoid any subloop to have a very optimal solution

- 0of 0 votes
Write a function which returns the number of times the digit "1" appears in a number which is generated from raising 11 to the Nth power where N is passed in as an input parameter. The range of N is 0 to 1,000.

Be sure to unit test your solution.

For instance, If N is 3, the number is 1331 and the function returns 2.

If N is 5, the function returns 3.

If N is 10, the function returns 1 and so on.`public int solution(int N) { ... }`

You have 30 minutes to complete the problem.

- 0of 0 votes
you have a interface called Op and a Filter interface

interface Op<T> {

public boolean hasNext();

public boolean<T> next();

}

interface Filter<T1, T2> {

public boolean filter(T1 t1, T2 t2);

}

design a MutualOp that has below API, MutualOp should return the ops that combine op1 and op2, also should meet with the filter

class MutualOp implements Op{

public MutualOp(Op left, Op right, Filter<Op, Op> filter) {

this.left = left;

this.right = right;

this.filter = filter;

}

public boolean hasNext {

......

}

public T next {

......

}

}