1.) Sum of digits of a number 2.) Reverse a string 3.) sum of largest sequence number in an array list.
Developer Interview Questions
268,925 developer interview questions shared by candidates
Some small program in JavaScript
What are access modifiers?
What is Java?What is JVM?
programs.. 1.You are given a number in form of integer consist of digits from 0 to 9. Each digit consist of several dash ( see figure) . Your job is to calculate the number of dashes in the given number. -- -- -- | | | | | | | | | | | | -- -- -- -- | | | | | | | | | | -- -- -- 2.An array of integers is given and you have to split the array from the index where sum of left hand side elements is equal to sum of right hand side elements for eg.[1,1,0,2] this will be splitted in two parts [1,1] [0,2] [3,2,1,5,1] will be [3,2,1] and[5,1] 3.a string is given "i am in delhi" if "elh" is there in the given string in the same order('e' then 'l' then 'h') then print "YES" else "no" 4.Write a program to check whether string is pallindrom or not
Explain what functional programming was, its benefits, downsides and why I thought it was useful or not.
What are Closures?
abstract Class vs Interface
Looping control
You are given 30 bottles of milk with one poisonous. how will you find which bottle is poisonous by using the minimum number of rats for experiment? how many rats do you need? Give a self defining number
Viewing 451 - 460 interview questions