Implement clearbit(int n, int p) function, p is the position of the bit to be cleared. Example : n is 13, p is 0. Binary representation of n : 1101. You need to clear the pth postion, means 0th position bit needs to be cleared.
Engineers Interview Questions
841,754 engineers interview questions shared by candidates
you have array with n elements. How would you do circular shift of k positions? Time and space complexity?
what is relative path? write a program to convert relative path to absolute path.
Write a function to obtain a string with the binary representation of an integer
If you had to change permissions to read/write all recursively in the unix terminal, how would you do it?
Are two words palindrome of each other?
given two linked lists with a digit in each node, add the two linked lists together. the result must be a linked list with one digit in each node. use only one iteration of the two input lists.
Pancakes, size varies, and are put in a stack with random order. You have one operation called Flip(int[] pancakes, int k) to flip all pancakes from the top one to kth pancake, write a sort(int[] pancakes]) method
Implementing a dictionary of quick searching words
1. Calculate the factorial of an array of integers. 2. How to improve the factorial algorithm?
Viewing 691 - 700 interview questions