Describe a function (in C) that does the following Input : an integer. Output: if that integer is 4, the function returns 7. if that integer is 7, the function returns 4. constraints: the input is SURE to be either 4 or 7. no need to validate. you are not allowed to use any condition/flow commands (if, switch, while, for, trinary operator...) you are not allowed to use any external library or import anything (like math..) you are not allowed to use %(modulu), * (multiplication)
Engineers Interview Questions
841,850 engineers interview questions shared by candidates
Describe a time you had to change your style to adapt to a situation or accommodate others.
is there any benefit to use cache if there is read miss for every access?
There is a singly linked list of ints, write a function that takes the head pointer, and prints the list in reverse order
Do you always dress like that?
Code a program to check if a given string is matching a given regular expression
How do you print all elements of a linked list.
Given two unsorted arrays, one with event start times and one with end times, find out if any two events overlap.
You are given a list of strings (e.g. ["cat", "dog", "hat", "apple", "c"] ). Write a program that would take as input a string containing a wild card character, like "*at", "**t" (could be "cat", "hat", "bat"), "ca*", etc. and return true if there is a corresponding string in the list, and false otherwise.
SQL : Top 3 Products by sale, % using Case, Basic Having clause and one Set operator (Intersect) type question Python : Average word length, ip-address parsing, dictionary, list of lists, flatten list of lists. ( Similar to previous interview experiences)
Viewing 801 - 810 interview questions