How will you make this code readable (given a piece of code)
Software Developer Engineer Interview Questions
467,405 software developer engineer interview questions shared by candidates
Given a constant input stream of integers design a way to, at any point, return the current median of that stream.
"Given a log file spanning multiple days, and given a page transition A -> B -> C, find all the unique users who made this page transition in the logs"
Code to check if a Binary tree is symmetrical.
given a dictionary of words sorted according to a certain order, write a function to out put this order. e.g. input {abc, fkq, bct} output:{a, f, b, k, c, q, t}
He asked me to give him the algorithm for the Fibonacci number in both iterative and using recursion. I failed to solve a problem regarding the algorithm of a rand7 function by using a rand5 function.
Ask to reverse a linked list, both recursively and iterating way.
You are given the head node of a binary tree. Find the height of the tree.
1.In a certain company, 30 percent of the men and 20 percent of the women attend night school. If 40 percent of all employees are men, what percent of all the employees attend night school?
If it were two hours later, it would be half as long until midnight as it would be if it were an hour later. What time is it now?
Viewing 2141 - 2150 interview questions