Write the code for singleton pattern? Convert singleton to Nton.
Software Engineer Interview Questions
467,307 software engineer interview questions shared by candidates
In multiprocessor environment, when the board is applied power does all the processors hit the reset vector at the same time or how it works?
Given a Binary Tree, we know it's complete, but we don't know how many nodes are in the tree. Can you insert another node in less than O(n) complexity? Was able to do in (logn)^2.
Write a regular expression pattern to match "525", "528", and "530" to "599" exclusively.
Given an arbitrary list of integers find the statistical mode returning them in a list.
1. find all the combinations of a string in lowercase and uppercase. For example, string "ab" -> "ab", "Ab", "aB", "AB". So, you will have 2^n (n = number of chars in the string) output strings. The goal is for you to test each of these string and see if it match a hidden string. 2. Implement a simple regex parser which, given a string and a pattern, returns a boolean indicating whether the input matches the pattern. By simple, we mean that the regex can only contain special character: * (star), . (dot), + (plus). The star means what you'd expect, that there will be zero or more of previous character in that place in the pattern. The dot means any character for that position. The plus means one or more of previous character in that place in the pattern.
They asked about some software that I had never heard of that they used in their deployment process.
how do you write "2008" at the console using any language without any ?number in your code
Can you print the following pattern using a C program? 1 1 2 1 2 3 1 2 3 4
You are given the start node of a linked list. Now you have to insert, delete, and search any given node in O(1) time complexity.
Viewing 2021 - 2030 interview questions