Write a function to determine if a string is a palindrome.
Software Engineer Intern Interview Questions
9,772 software engineer intern interview questions shared by candidates
compute the square root of x
Write a function that prints out all subsets of a given set of numbers.
Determine if a string is of a valid format.
What is the difference between an abstract class and an interface?
Main question was verifying whether a binary tree was a BST, given the function header that looked like public boolean isBST(root). He stated no other functions could be created and that child nodes did not have links to their parents.
It was a question where given an expression in a string with parentheses, we must find out the result of that expression and print it out using BODMAS Input : "7+(8-6)*4" Output: 15
How would you go about finding the kth to last element in a singly linked list?
Given a string consisting of characters A,B,C in any order . Sort them such that all A`s,B`s and C`s are placed together .
How would you find the n-th greatest element in a binary search tree?
Viewing 161 - 170 interview questions