Technical Questions Flashcards

1
Q

give him the algorithm for the Fibonacci number in both iterative and using recursion.

A

//

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Count all lists of adjacent nodes stored in an array

A

//

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

How to find a string in a large file storage

A

//

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

How would you find the second largest integer in an unsorted array? Write the code.

A

//

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

How to divide a number?

A

//

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Why would you use ArrayList? Is there a way to implement the same logic using just an ordinary array of int elements? What is the pros and cons in your decision?

A

//

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

There will be definately questions on bits/bytes and small basic questions on Hexa decimal like
what is result if you add 1 to hexa F

A

//

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

if you have 5000 html pages how would you find particular valu

A

//

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

what is a way to ensure that changes to a function will not have negative impact on other functions?

A

//

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

how would you reverse a linked list? What if there were no prev pointers? What if the list was so long that you can’t use a memory buffer?

A

//

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is wrong with this code:

int *ptr;
*ptr = 7;

A

//

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Can you explain a time when you had to pitch an idea to a manager when initially they were sceptical, explain how you won them round

A

//

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Tell me of a time when you stood up against someone in a position of authority and convinced them to do something different

A

//

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

(Whiteboard exercise) Implement strcmp using any language of your choice.

A

//

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Given a string, reverse each token in that string

A

//

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

how would you test a simple 4 operations calculator

A

//

17
Q

Say you were in an Elevator with the CIO of your account and he asks you.. Cloud? What is that all about?” How would you answer him or her?

A

//

18
Q

Find the next greater number than N which has the same no of 1s in its binary representation as N.

A

//

19
Q

Write a method to reverse an arbitrary integer.

A

//

20
Q

Given a sentence
input : helloworld
output: HelloWorld

YOu should make use of a dictionary available with you. Capitalize the dictionary words in the sentence

A

//

21
Q

how do you implement TDD

A

//

22
Q

Are you special

A

//

23
Q

A time you worked well in a team, what make it sucessful, what was your role in the team?

A

//

24
Q

How do you prioritise your work load and adjust to meet deadlines?

A

//

25
Q

A time you have made a mistake - how did you specifically rectify it?

A

//

26
Q

A creative solution - how did you realise it, what was your role in making it happen, to what extent is it still implemented?

A

//

27
Q

whats your most difficlt trait

A

//