Given a root to a binary tree where each node holds an integer. Write a method that returns the sum of all the integers in the tree.
Engineer Software Interview Questions
511,683 engineer software interview questions shared by candidates
Given an array of values, how do you check if there is a combination of them that add up to an integer, n.
First Step includes Java proficiency test where candidate is required to do 2 tasks. First one involves coding for converting .dat file to .csv file. second includes debugging of the first assignment done by someone else and write an email addressing the issues. respond to client's complain about the implementation
Populate an array of numbers from 1 to N (inclusive). Given two numbers, p and q , if a number in the array is divisible by p print OUT, if a number is divisible by q print THINK. If number is divisible by both p and q, print OUTTHINK. Otherwise, print the number.
4.Write a C/C++ program to print the pattern for the given value N. For example N=5 55555 45555 43555 43255 43215 54321
I have superclass A and subclass B of superclass A. B overrides a function foo() in A. I have an instance of class B. How do I call foo() but using class A's version
Not difficult. It is like why can not compare two strings. And how to compare one object which initialed as a string with string. The coding quesition is to find the kth in two sorted arrays.
Asked to write a function to determine if numbers were a power of X.
Given a string input, create a function that will output a compressed version of the string. E.g. Input = "AAABBZZDDD", Output = "A3B2Z2D3"
write a function that receives a dictionary and a string and return true if the string is built of exactly two words in the dictionary
Viewing 691 - 700 interview questions