Reverse a string in any language of your choice.
Entwickler Interview Questions
467,504 entwickler interview questions shared by candidates
Implement a function all_anagram_groups() that, given many input strings, will identify and group words that are anagrams of each other. An anagram is word that is just a re-arrangement of the characters of another word, like "reap" and "pear" and "a per" (whitespace is ignored). But "pear" and "rep" are not, since "rep" does not have an "a". Also, "the" and "thee" are not anagrams, because "the" only has one "e". Given this example input: [ "pear","dirty room","amleth","reap","tinsel","hamlet","dormitory","listen","silent" ] The output should be an array-of-arrays (or list-of-lists) [ ["pear","reap"], ["dirty room","dormitory"], ["amleth","hamlet"], ["tinsel","listen","silent"] ]
/* You have rating (0-10) of the hotels per user in this format: scores = [ {'hotel_id': 1001, 'user_id': 501, 'score': 7}, {'hotel_id': 1001, 'user_id': 502, 'score': 7}, {'hotel_id': 1001, 'user_id': 503, 'score': 7}, {'hotel_id': 2001, 'user_id': 504, 'score': 10}, {'hotel_id': 3001, 'user_id': 505, 'score': 5}, {'hotel_id': 2001, 'user_id': 506, 'score': 5} ] Any given hotel might have more than one score. Implement a function, get_hotels(scores, min_avg_score) that returns a list of hotel ids that have average score equal to or higher than min_avg_score. get_hotels(scores, 5) -> [1001, 2001, 3001] get_hotels(scores, 7) -> [1001, 2001] */
RISC vs CISC : citez la différence ?
Study your entire book from college because all they really care about is algorithms.
First part: Given a sorted array that was "shifted", e.g., [1, 2, 3, 4] ---> [2, 3, 4, 1], write an algorithm that finds the maximum value in the array. Second part: Improve the time complexity using parallel computing.
write a method to return the duplicate in a integer array
Reverse a linked list
How could one efficiently navigate and retrieve the dependencies of a number of services provided by CDH? (there were many tiers and dependencies)
These are the main technical questions that I had encountered in the two technical interviews: - Interrupt routine life time. - Pins of the SPI and its operation. - Causes of stack overflow. - Difference between memories in terms of speed/density/usage/cost/operation. -PWM operation and parameters. -Difference between startup code / boot loader. -In which memory the Interrupt vector table lies and in which position inside the memory. -Function that takes an array and eliminates any repetitive elements inside an array and returns it (find a proper way to return it). -Function that takes an array and prints another array with same size where the elements in the new array are the number of repetitive times of its indeces .in the input array. Example : Input = [1 2 4 5 6 2 4 0 2 2 3 3] output=[1 1 3 2 1 0 1 0 0 0 0 0] Explanation: 0 was repeated 1 time in the input array so we write 1 at the 0 index at the output array. 1 was repeated 1 time in the input array so we write 1 at the 1 index at the output array. 2 was repeated 3 times in the input array so we write 3 at the 2 index at the output array. 3 was repeated 2 times in the input array so we write 2 at the 3 index at the output array. 4 was repeated 1 time in the input array so we write 1 at the 4 index at the output array. 5 was repeated 0 time in the input array so we write 0 at the 5 index at the output array. ... and so on so forth
Viewing 2221 - 2230 interview questions