Write the actual code to parse a regular expression including "*", which stands for 0 or more characters, "+", which stands for 1 or more characters, and ".", which stands for 1 exact character.
Software Engineer 2 Interview Questions
665,682 software engineer 2 interview questions shared by candidates
What languages do you program in
Given an array [1, 2, 3, 4, 3, 5] and number x, rotate the array such that all occurrences of x are shifted at the end. For example, x = 3, then output should be [1, 2, 4, 5, 3, 3]
You have three sock drawers. One has red and blue socks, one has blue and green socks, and one has green and red socks. What is the expected number of socks you must pull to be sure which drawer is which, assuming that the number of socks of each color in each drawer is both large and equal?
Reversal of String Difference between GET and POST REST API
Implement a stack using a Queue
I had a difficult question about a cuboid composed of smaller cubes. How many cubes are there where exactly two faces of the cube are exposed?
How would you count the number of words in a string consisting of uneven number of spaces between words( not dictionary words)? With and without library functions.
There are 199 elements in array. It has only one distinct value? How will find this distinct value? Also for solution please tell about O(n)?How can you make it more efficient?
Given a binary tree with only upwards (parent) node references, re-construct the tree adding in child references. You are given a list of leaf nodes (sorted in left to right order). Tricks include making sure to account for extremely unbalanced trees.
Viewing 1461 - 1470 interview questions