Python Related (3312)
PHP Related (7341)
Scala (340)
R Programming (396)
Kotlin (184)
Apache Groovy (39)
Ruby (245)
Go Programming Language (139)
Objective-C (429)
Programming Languages AllOther (746) what is difference between array and structure?
College School Exams Tests, CTS, Google, HCL, IBM, Motorola, TCS,
44 140293Given an array of length N containing integers between 1 and N, determine if it contains any duplicates.
3 11258Given an array of numbers, except for one number all the others occur twice. Give an algorithm to find that number which occurs only once in the array.
6 13465There is a 100-story building and you are given two eggs. The eggs (and the building) have an interesting property that if you throw the egg from a floor number less than X, it will not break. And it will always brake if the floor number is equal or greater than X. Assuming that you can reuse the eggs which didn't broke; you got to find X in a minimal number of throws. Give an algorithm to find X in minimal number of throws.
5 23288Given an array of characters, how would you reverse it? How would you reverse it without using indexing in the array?
1 9605Given an array of characters which form a sentence of words, give an efficient algorithm to reverse the order of the words (not characters) in it?
3 8069Write a function stroverlap that takes (at least) two strings, and concatenates them, but does not duplicate any overlap. You only need to worry about overlaps between the end of the first string and the beginning of the second string. Examples: batman, manonthemoon = batmanonthemoon batmmamaman, mamamanonthemoon = batmmamamanonthemoon bat, man = batman batman, batman = batman batman, menonthemoon = batmanmenonthemoon
HCL,
2316
How to Trapp non client areas ?
What is the make method?
Which types of relationships are available in laravel eloquent?
In magento which product types implement a parent-child relationship between
What does "Null Safety" mean in Kotlin?
What is Predictive Analysis in R?
What is deep copy in python?
What are some new features introduced in php7?
How is objective c different from c++?
What is the oldest programming language?
Is Exception handling possible in c language?
Why can't I perform arithmetic on a void* pointer?
How to show price (or sth else) in shopping opions when browsing a category?
Is django a full stack framework?
What is get method in java?