Given a 8x8 chessboard, write code to calculate the number of ways you can go from the the top left corner to the bottom right corner, given that you can go down, up, left, AND right.
Developer Interview Questions
269,104 developer interview questions shared by candidates
2, 3, 5, 7, what comes next
Implement singleton
Given an int array int list = {4,5,6,1,2,...} and an integer int target = 8 Write a function to return all the pairs (x, y) in the integer array that x + y = target (remove the duplicate one)
What data structure would you use or design to implement a suggestion box for a user searching for someone in a telephone directory
given an array, all the elements in the array appear twince, only one element appears only once. Find that element. Eg, the array is 2 4 2 3 4 1 3 6 6, 1 should be the answer.
Implement a function in C that takes a string "Hey" and converts it to "[H][e][y]" with no return value
how different processes communicate with each other the advantages and disadvantages regarding multithreading vs multiprocessing given an input of integers that represent stock prices, how to get the best buying and selling price (notice you can only sell after you have bought the stock)
You're given a binary tree--not necessarily complete or proper--and you need to give each node a "friend" pointer that points to the node to its right in the tree. This node is on the same level but is not necessarily a sibling, which makes the problem a little tricky. The friend pointer of the node farthest to the right on each level should be null.
All the pega CSA 7.2 related Questions
Viewing 581 - 590 interview questions