SDE-intern Interview Questions | Glassdoor

SDE-intern Interview Questions

2

SDE-intern interview questions shared by candidates

Top Interview Questions

Sort: Relevance Popular Date

1st interview: Implement the algorithm for playing minesweeper. 2nd interview: Implement a^n in log(n) time both recursively and iteratively

2 Answers

int i = 1; while(i*i<n){ num=num*num; i++; }

Multiply number by itself. ----------------------------------- int i = 1; while(i*i<n){ num=num*num; i++; }

12 of 2 Interview Questions