Fullstack Developer Interview Questions

3,983 fullstack developer interview questions shared by candidates

Tasked with developing a function in Javascript which takes as input 2 strings, version1 and version2. These strings will follow a standard version format (for example 2.3.100.1 or 1.7). The function should take these two versions and return -1 when version1 is less than version2, return 0 when they are equal, and 1 when version1 is greater than version2.
avatar

Fullstack Software Engineer

Interviewed at Emergent Software

4.4
Sep 6, 2023

Tasked with developing a function in Javascript which takes as input 2 strings, version1 and version2. These strings will follow a standard version format (for example 2.3.100.1 or 1.7). The function should take these two versions and return -1 when version1 is less than version2, return 0 when they are equal, and 1 when version1 is greater than version2.

Viewing 381 - 390 interview questions

Glassdoor has 3,983 interview questions and reports from Fullstack developer interviews. Prepare for your interview. Get hired. Love your job.