Programming Interview Questions | Glassdoor

Programming Interview Questions

217

interview questions shared by candidates

Programming Interview Questions

Sort: RelevancePopular Date

What is the output from this code (assume int is 32 bit) int f(int n) { return n * f(n-1); } print(f(100));

2 Answers

given a number, how do you determine if its a power of 3?

4 Answers

Given an array of 0's and 1's, and a number k, find the minimum window that contains k 0's. Write code.

1 Answer

How would you check if a binary tree is balanced? Write a program to implement your algorithm.

1 Answer

How would you find bugs in a very large program. This is one of the few questions I wasn't able to answer to my satisfaction at least, since I hadn't worked with large programs and were still limited to small simple debugging techniques

1 Answer

Case study-create an application for a service scheduling company. Can use pseudocode, programming language, etc.

1 Answer

Write a procedure in C that reverses the letters of a null-terminated string. Then write another procedure in C that reverses the words of a null-terminated sentence.

1 Answer

Write a function that takes in a list of numbers and returns the number of even numbers in the list.

2 Answers

Questions on Semaphore, Mutex and C programming based on a scenario.

1 Answer

Find the logical error in the Linkedlist reversal program (the program was given). Need to use the gdb tool to debug and correct the program.

1 Answer
5160 of 217 Interview Questions