Software Development Interview Questions

37,027 software development interview questions shared by candidates

Given a method that takes in a string of letters and returns if it is a valid word, how do you solve the problem of word segmentation? In other words, given a string of letters (a-z only) and return a valid break down of the string into an array of words. There are be multiple different valid answers, and your solution need only return one of them. Example: segment("hellohowareyou") returns ["hello", "how", "are", "you]
avatar

Software Development Engineer Internship

Interviewed at Microsoft

4
Nov 16, 2014

Given a method that takes in a string of letters and returns if it is a valid word, how do you solve the problem of word segmentation? In other words, given a string of letters (a-z only) and return a valid break down of the string into an array of words. There are be multiple different valid answers, and your solution need only return one of them. Example: segment("hellohowareyou") returns ["hello", "how", "are", "you]

The technical questions are:1. How do you find if a directed graph is a tree and code for it? 2. Dynamic programming - 5 Painters to paint homes at the least cost - given different cost for painting with different colors(3 choice colors). Conditon: No adjacent homes in the 5 houses that are in a row can't have same color. 3. Design a scalable notification system.
avatar

Senior Software Development Engineer

Interviewed at Microsoft

4
Aug 24, 2015

The technical questions are:1. How do you find if a directed graph is a tree and code for it? 2. Dynamic programming - 5 Painters to paint homes at the least cost - given different cost for painting with different colors(3 choice colors). Conditon: No adjacent homes in the 5 houses that are in a row can't have same color. 3. Design a scalable notification system.

Viewing 3491 - 3500 interview questions

Glassdoor has 37,027 interview questions and reports from Software development interviews. Prepare for your interview. Get hired. Love your job.