Write a function(int[]) -> int that returns the lowest unassigned integer. For example [] -> 1 (empty set), [1] -> 2, [5, 3, 1] -> 2. Basically just sort the array, iterate, and compare current and previous. If there is a gap then that's your number.
Ingegnere Interview Questions
Ingegnere Interview Questions
Gli ingegneri sono responsabili della progettazione e della realizzazione di prodotti. Durante un colloquio di lavoro, aspettati di ricevere domande sulle tue competenze tecniche e di essere valutato per la tua capacità di lavorare in team alla creazione e realizzazione di oggetti. Le domande specifiche che ti verranno poste dipenderanno dal tipo di ruolo tecnico per il quale ti stai candidando, ad esempio una specifica disciplina ingegneristica come software engineer, ingegnere elettrico o ingegnere meccanico.
Domande tipiche dei colloqui per Ingegnere e come rispondere
Domanda 1: Qual è il progetto di ingegneria più impegnativo al quale hai partecipato e come sei riuscito a garantirne il successo?
Domanda 2: Nel tuo ruolo attuale, quali misure adotti per evitare di commettere errori?
Domanda 3: Descrivi una volta in cui hai dovuto gestire un cliente o un interlocutore difficile.
375,174 ingegnere interview questions shared by candidates
If you have an unsorted array of numbers from 1-100, except 1 of those numbers is missing, how do you determine which number is missing
Print a binary tree by vertical level order like 1 2 4 3 5 print : 3 2 1 5 4
given an array of numbers to remove the duplicates
Phone interview question: Given a string pattern of 0s, 1s, and ?s (wildcards), generate all 0-1 strings that match this pattern. e.g. 1?00?101 -> [10000101, 10001101, 11000101, 11001101]. You can generate the strings in any order that suits you.
If you had a list of appointments (each appointment has a begin time, an end time, and a boolean hasConflict), how would you efficiently go through them and set the hasConflict boolean for each. You cannot assume they are sorted in any way. Keep in mind that one appointment may be very long, etc.
Given n sets of choices: (1,2,3), (2,3,4), (4,5) You pick one element from each set of choices. Generate all possible picking.
Consider an X x Y array of 1's and 0s. The X axis represents "influences" meaning that X influences Y. So, for example, if $array[3,7] is 1 that means that 3 influences 7. An "influencer" is someone who influences every other person, but is not influenced by any other member. Given such an array, write a function to determine whether or not an "influencer" exists in the array.
Write a function that divides two numbers without using the divide '/' operator.
Viewing 61 - 70 interview questions