Interview questions
Software Developer/ Programmer interview questions – page 8
2,071 questions. Tap “Show answer” to check yourself.
-
Suggest data structures you would use for snake & ladder game?
-
Write a function that takes two strings as parameters and returns true if they anagram of each other.
-
Find the number of occurrences of a given number in a sorted array.
-
Write a C Program to reverse a string. Explain it.
-
Find Level Sum of a binary tree and Store that in an Array? eg
-
Write a Program to remove loop from linked list..program should be clean & should pass all test cases..he wants from me exact working code In O(n)..?
-
Convert binary search tree to max heap
-
1) Given a stack and an input string of 1234.At any point you can do anyone of the follow i. take the next input symbol and Enque. ii. you can pop as many as you can. When ever you pop an element it will be printed (you cannot po...
-
Program to tell if a singly linked list is circular.
-
Given string input1, input2, remove wherever the occurrence of input2 in input1. e.g: input1: skjthshetheshetesm input2: she input1 will become "skjththetesm" Give the test cases.
-
Minimum no of comparisons to find min and max in an array on n elements.
-
Write a function that returns true if two given strings are anagram of each other and false otherwise. What is the time complexity of ur solution? How would you improve it?
-
Compare linked list and arrays
-
What is the wrong in this program?
-
Is there any way we can expansion other than Macros
-
Write a C program which measures the the speed of a context switch on a UNIX/Linux system.
-
Implementation details about unions.
-
Difference betweenn simple and interactive reports?
-
What is the standard program to check the onsistency of the partner profiles?
-
Give the output of the following program
-
Convert this function to a macro.
-
Printf("""n""") prints n but printf(""n"") gives compile error
-
Which of s, t and u are availeble to a function present in another file a. only s b. s & t c. s, t, u d. none ...
-
What is :- Token , identifier , block , parameter , argument , scope of variable , Macro ?
-
How much memory is taken by a pointer variable?
-
How many times geeksforgeeks will be printed?
-
Which of the following about automatic variables within a function is correct? A. Its type must be declared before using the variable b. They are localc. c. They are not initialized to zerod. d. They are GLobal
-
Consider the following two code segments:
-
Which one of the following represents a correct and safe declaration of NULL ? a) typedef((void *)0) NULL; b) typedef NULL(char *)0; c) #define NULL((void *)0) d) #define NULL((char*)0)
-
How to find the size of a given variable without using sizeof() operator?