Solutions consultant Interview Questions | Glassdoor.co.uk

Solutions consultant Interview Questions

647

solutions consultant interview questions shared by candidates

Top Interview Questions

Sort: RelevancePopular Date

Given a pointer to the head of a singly linked list, iterate it backwards printing the values in reverse. Give 2 implementations - a recursive one, and an iterative one.

4 Answers

Recursive: if not last, call the recursive function on the next node, then print self value. Iterative: iterate over each node and push the value to a stack, then iterate over the stack printing each value.

void printrecursive(node *head) { if(head == NULL) return; else { printrecursive(head->next); cout data s; while(head!=NULL) { s.push(head->data); head = head->next; } while(!s.empty()) { cout << s.top() << " "; s.pop(); } }

Iterative void printiterative(node *head) { stack s; while(head!=NULL) { s.push(head->data); head = head->next; } while(!s.empty()) { cout << s.top() << " "; s.pop(); } }

Boggle game - given a board of letters (2d array) and a word (string), return whether the word exists in the board. From each letter you can move in all directions (including diagonals), but you cannot use the same letter twice.

4 Answers

Write a basic Regex engine implementing the "." (any character) and "*" (previous rule, 0 to many). The function receives a string (letters only, no need for escaping) and a string pattern. It returns a bool whether the string matches the pattern. For example, the pattern "AB.*E" should match both "ABCDE" and "ABEEE".

3 Answers

No, specific interview questions as such (tells you how inefficient the process is) but mostly talking about your CV and past experience.

3 Answers

Given an array of integers, write an in-place function to bring all the non-zero elements to the left of the array keeping the original order.

3 Answers

multiply two two-digit numbers together

2 Answers

In detail, talking through the entire stack, what happens between typing 'www.amazon.com' in a browser and hitting enter, and the page being rendered on the screen?

2 Answers

SCC has a staff retention problem and will want to work hard to understand your reasons for having more than one job in your entire career...

2 Answers

What is CAPM?

2 Answers

Tell me about a time you showed leadership?

2 Answers
110 of 647 Interview Questions