Software Engineer 1 Interview Questions

372 software engineer 1 interview questions shared by candidates

Given two sequences pushed and popped with distinct values, return true if and only if this could have been the result of a sequence of push and pop operations on an initially empty stack. Example 1: Input: pushed = [1,2,3,4,5], popped = [4,5,3,2,1] Output: true Explanation: We might do the following sequence: push(1), push(2), push(3), push(4), pop() -> 4, push(5), pop() -> 5, pop() -> 3, pop() -> 2, pop() -> 1
avatar

Software Engineer-1

Interviewed at Vedantu

3.3
Aug 4, 2020

Given two sequences pushed and popped with distinct values, return true if and only if this could have been the result of a sequence of push and pop operations on an initially empty stack. Example 1: Input: pushed = [1,2,3,4,5], popped = [4,5,3,2,1] Output: true Explanation: We might do the following sequence: push(1), push(2), push(3), push(4), pop() -> 4, push(5), pop() -> 5, pop() -> 3, pop() -> 2, pop() -> 1

They tested me on problem solving because I know Java and c ,but their requirement was c++.They asked some questions on arrays , strings ,bfs ,DFS , sortings etc..They want applications of data structures and algorithms,not implementations.
avatar

Software Engineer-1

Interviewed at Progress

3.8
Feb 19, 2021

They tested me on problem solving because I know Java and c ,but their requirement was c++.They asked some questions on arrays , strings ,bfs ,DFS , sortings etc..They want applications of data structures and algorithms,not implementations.

Viewing 11 - 20 interview questions

Glassdoor has 372 interview questions and reports from Software engineer 1 interviews. Prepare for your interview. Get hired. Love your job.