Find 2 or more missing numbers in a set of 100 natural numbers
Software Interview Questions
550,532 software interview questions shared by candidates
You have 10 boxes of balls (each ball weighing exactly10 gm) with one box with defective balls (each one of the defective balls weigh 9 gm). You are given an electronic weighing machine and only one chance at it. How will find out which box has the defective balls?
In een RDBMS, een zekere tabel met de volgende kolommen: business_id, lengte- en breedtegraad De database heeft een functie genaamd afstand die positie neemt voor bedrijven en gebruikerspositie en berekent afstand. De db vraagd om uit te zoeken of bedri
Given any number of arrays containing numbers, write a function which finds the numbers that appear in exactly two arrays. arrays = [ [6, 2, 2, 0, 4], [5, 0, 2, 6, 7, 1], [6, 7, 9, 9], ] find_in_two(arrays) should return [2, 0, 7]
input log = [ { 'user': 'A', 'page': 1}, { 'user': 'B', 'page': 5}, { 'user': 'A', 'page': 2}, { 'user': 'A', 'page': 1}, { 'user': 'B', 'page': 2}, { 'user': 'C', 'page': 7}, { 'user': 'C', 'page': 3}, { 'user': 'A', 'page': 3}, { 'user': 'C', 'page': 1}, ] please implement discover_site_map(log) discover_site_map returns a representation of the links between pages, using whatever data structure you think is suitable: 1 -> 2, 3 2 -> 1 3 -> 1 5 -> 2 7 -> 3
Hoe verwijder je herhaalde waarden uit een Int Array en geef je de resulterende array terug in dezelfde volgorde als het origineel?
Write C code to check if an integer is a power of 2 or not in a single line?
What can you do to a method in a parent class so that it's not overriden by a method in child class with same name?
Write a program takes in a string and a delimiter, and uses that delimiter to split a string and then will reverse the characters in every word (or jumble of characters between the delimiters), stuffing them back into a string when finished. ('The dog walks' becomes..... 'ehT god sklaw')
You have 7 Identical marbles but one is slightly heavier than the others. You also have a balance scale. Identify which marble is heavier only using the scale twice
Viewing 731 - 740 interview questions