Software Engineer Web Applications Developer Interview Questions

6,683 software engineer web applications developer interview questions shared by candidates

Onsite - 1. You have a computer with seven core cpu, you have a file and you have to read each line of the file, check if it has the word UPS in it, if so , then write it to a file, if there is no word as UPS in it, write that line to a different file. 2. An amount will be given as input. The amount will have some cents in change. So, for example $29.90. For the change, you have to start using the highest denomination and go to the lowest until the change value is completely met.
avatar

Senior Applications Developer

Interviewed at UPS

3.4
Nov 29, 2017

Onsite - 1. You have a computer with seven core cpu, you have a file and you have to read each line of the file, check if it has the word UPS in it, if so , then write it to a file, if there is no word as UPS in it, write that line to a different file. 2. An amount will be given as input. The amount will have some cents in change. So, for example $29.90. For the change, you have to start using the highest denomination and go to the lowest until the change value is completely met.

What would the count for the list of it. public class Test { string Data; int Id; public Test(int id, string data) { Data = data; Id = id; } } static void Main(string[] args) { List<Test> list = new List<Test>(); list.Add(new Test(10, "test")); var d = new Test(10, "test"); if (!list.Contains(d)) list.Add(d); Console.WriteLine("Count of the list is : " + list.Count); Console.ReadLine(); } } What to do to make count 1?
avatar

Senior Applications Developer

Interviewed at RBC

3.9
Mar 10, 2018

What would the count for the list of it. public class Test { string Data; int Id; public Test(int id, string data) { Data = data; Id = id; } } static void Main(string[] args) { List<Test> list = new List<Test>(); list.Add(new Test(10, "test")); var d = new Test(10, "test"); if (!list.Contains(d)) list.Add(d); Console.WriteLine("Count of the list is : " + list.Count); Console.ReadLine(); } } What to do to make count 1?

We have strings of format A_ _ _ _ _ _ _, an A followed by 6 spaces that can be a number 0-9. We also have regular expressions with the operations "or" and "*" defined as follows:. The easiest way to illustrate this is to give an example. "A000001 or A000000" has size 2 because it matches two strings. "*" represents a wild card, so A00000* has size 10 because it matches 10 different strings, (A000000 - A000009). "A0* or A1*" has size 20,000 because it matches 20,000 different strings. The question was this: Write a function that takes in a number N and outputs a regular expression that matches exactly N strings of format A _ _ _ _ _ _.
avatar

Internal Applications Software Engineer

Interviewed at Palantir Technologies

3.7
Mar 10, 2015

We have strings of format A_ _ _ _ _ _ _, an A followed by 6 spaces that can be a number 0-9. We also have regular expressions with the operations "or" and "*" defined as follows:. The easiest way to illustrate this is to give an example. "A000001 or A000000" has size 2 because it matches two strings. "*" represents a wild card, so A00000* has size 10 because it matches 10 different strings, (A000000 - A000009). "A0* or A1*" has size 20,000 because it matches 20,000 different strings. The question was this: Write a function that takes in a number N and outputs a regular expression that matches exactly N strings of format A _ _ _ _ _ _.

Viewing 21 - 30 interview questions

Glassdoor has 6,683 interview questions and reports from Software engineer web applications developer interviews. Prepare for your interview. Get hired. Love your job.