write a boolean method to find out if a number is a power of 2
Software Development Engineer Interview Questions
32,958 software development engineer interview questions shared by candidates
1- Given an array of integers, positive and negative. find an interval in that array, whose elements constitutes the maximum sum
Given an integer write a function that converts the input into a linkedList where each node corresponds to a number of the integer. Eg: 25697 == 2 -> 5 -> 6 -> 9 -> 7 Then write a function that takes 2 linkedList, add the corresponding integers and return a third list with the result.
How would you reverse the words in a string?
Recursively reverse a singly linked list.
Given a string, find whether it has any permutation of another string. Need to be efficient
1. if input is n=7 then print this pattern. Program should be dynamic. * ** *** **** *** ** * 2. One array have many numeric values arr[] = {2,3,4,5,2,5,9,45,23} output arr[] = {2,3,4,5,9,45,23}. Means remove duplicate values from array and store. 3. if n = 5 then print this pattern. * - - - - * * * - - - * * - * - - * * - - * - * * - - - * * 4. They ask me in second round -->if arr[] = "My _ _ _ _Name _ _ _ _ _ is _ _ _ _ _ _ _ _ _ _ xyz". In output there should be only one space between word like arr[] = "My _ Name _ is _ xyz". 5. Take input like 3,5,4,6 separately and output should one numeric value like 3546, for 4,5--> 45.
Online Test
NDA
1) Debug some code and take logic test 2) Perform coding challenge 3) Show general knowledge of software development, code something, talk about interests
Viewing 231 - 240 interview questions