Without using length and size function how could you get the 2nd last variable in an array of integers?
Senior Software Interview Questions
99,534 senior software interview questions shared by candidates
Write a javascript function to draw a chessboard
void sort(String s){ } void sort(Integer I){ } void sort(Object o){ } calling : sort(null) which function will be called?
Given 2 strings find the common words along with the time and space complexity. How would you optimize the algorithm
"Given a log file spanning multiple days, and given a page transition A -> B -> C, find all the unique users who made this page transition in the logs"
What methods would you use to retain employees within the company?
Write a method that takes a string and reverse it
Coding challenge
Write a function/method with this signature: bool MyFunc(string term, string input) {} The method should return true if the search term is found in the input string, even when there are other characters in between. Examples: "aba", "bbbbabbxxxxxxbb" returns false "aba", "bbbbabbxxxxxxab" returns true Basically, do I see an 'a', then 'b', then another 'a' before I run off the end of the input string?
Write a function that determines the divisors of an supplied parameter and which of those are prime numbers.
Viewing 261 - 270 interview questions