Given a single-line text string and a maximum width value, write the function 'string justify(string text, int maxWidth)' that formats the input text using full-justification, i.e., extra spaces on each line are equally distributed between the words; the first word on each line is flushed left and the last word on each line is flushed right.
Software Engineer Interview Questions
Software Engineer Interview Questions
I Software engineer scrivono i programmi per progettare e sviluppare software informatici. I colloqui sono prettamente tecnici, quindi preparati ad affrontare problemi di programmazione e rompicapi matematici. Le domande specifiche che ti saranno poste dipenderanno dal tipo di posizione che stai cercando nell'ambito della programmazione. Prova a fare le dovute ricerche su una disciplina software specifica, come lo sviluppo si siti web, di applicazioni o di sistemi.
Domande tipiche dei colloqui per Software engineer e come rispondere
Domanda 1: Come descriveresti il tuo processo di programmazione?
Domanda 2: Quali linguaggi di programmazione conosci e preferisci?
Domanda 3: Parlami di un progetto che hai portato a termine con successo.
419,605 software engineer interview questions shared by candidates
Find indices start and end for a particular value in a sorted integer array with duplicates
What are the steps to connect to a database?
How to find 2 missing numbers in N numbers, which consists of numbers 1 - N without duplicate?
What's your opinion of a well-designed product and why?
Imagine you have only two eggs and a 100 story building in front of you. Describe an algorithm (or technique) to minimize the number of throws (or tries) to determine where the egg will start to break when thrown off the building. If the egg breaks when thrown from that floor, it will always break from that floor or higher (i.e. all eggs have the same results per floor; they break or they don't).
Using some functions they gave me which operate with cells in spreadsheets, I had to compute sum of an array. Later I had to implement by myself those functions: the trickiest thing was to implement the part when some cell is a sum of two other cells and some of those two cells is a some of some other cells and so on ...
What's your salary?
2 - in C#, can you tell whether whatever the user has input is a string or integer?
How many different ways are there to paint a fence if no more than two adjacent fence posts can be the same color?
Viewing 1361 - 1370 interview questions