We have some input that describes the steps of a workflow. The input consists of pairs of steps, each one indicating that one step must be completed before another. For example, in sample input 1, "clean" must occur before "build" and "build" must occur before "link". The input can occur in any order. We want to write a function to separate a given workflow's steps into multiple stages in such a way that all the steps in each individual stage can run at the same time. The function should return a list of lists. In which each list represents one stage. Each step should run in the earliest possible stage. Sample Input 1: precursor_steps = [ ["clean", "build"], ["metadata", "binary"], ["build", "link"], ["link","binary"], ["clean", "metadata"], ["build","resources"] ] Sample Output: [ ["clean"], ["build", "metadata"], ["resources","link"], ["binary"] ]
Junior Software Engineer Interview Questions
6,760 junior software engineer interview questions shared by candidates
Asked about HTTP, what happens when you go to a website, cookies, caching, XML, Network Developer tools, CSS methods
1. Build the data model for a company's organizational chart. (An organizational chart represents the employees and reporting structure in a company.) This org chart will be in-memory - represented in classes, not a database. After building the data model, you will use your model to solve a few queries.
Diference between Interface and Abstract class
Describe ur project and technologies used?
Como você se ve daqui 5 anos
Talk about your technical projects
Do you have coding experience and with robots
What are your salary expectations?
White board interview, with 3 senior developers. The intimidation factor was roughly 6.5/10. They were asking technical definitions - abstract issues and what data types would help to solve issues. Concrete problem on whiteboard.
Viewing 491 - 500 interview questions