Backend Software Interview Questions

15,489 backend software interview questions shared by candidates

What is the error that would be thrown from the next code? //a.js require("./b") const hi = () => { console.log("hi") } module.exports=hi //b.js const a = require("./a"); module.exports = a //c.js const b = require("./b") b.hi() //CMD node c.js

Senior Backend Developer

Interviewed at HyperGuest

3.9
Mar 18, 2024

What is the error that would be thrown from the next code? //a.js require("./b") const hi = () => { console.log("hi") } module.exports=hi //b.js const a = require("./a"); module.exports = a //c.js const b = require("./b") b.hi() //CMD node c.js

1. Given an array of stocks' previous day values. Plan a program that tells you when is the best time to buy the stock and also tells you when to sell it in order to get the highest revenue. 2. Two robots land in a desert on an infinite line (<-->) Write a program that will make them to meet one each other. (they both have the same program, they don't know where they are, they can be with their face on the opposite direction).
avatar

Backend Engineer

Interviewed at CropX

3.6
Jan 11, 2021

1. Given an array of stocks' previous day values. Plan a program that tells you when is the best time to buy the stock and also tells you when to sell it in order to get the highest revenue. 2. Two robots land in a desert on an infinite line (<-->) Write a program that will make them to meet one each other. (they both have the same program, they don't know where they are, they can be with their face on the opposite direction).

Viewing 1461 - 1470 interview questions

See Interview Questions for Similar Jobs

Glassdoor has 15,489 interview questions and reports from Backend software interviews. Prepare for your interview. Get hired. Love your job.