# 315

Sollicitatievragen voor Aws Engineer gedeeld door sollicitanten

## Meest gestelde sollicitatievragen

Sorteren: Relevantie|Populair|Datum
Er werd een DevOps Data Engineer (AWS) gevraagd...25 maart 2017

3 antwoorden

Yes

Yea

Yes

### Hardest Q was: Here's a binary tree: find the longest path within it. So, find a path between any two leaf nodes, where the path is the longest.

3 antwoorden

class Solution{ int ans[] = new int[1]; //O(n) public int efficientDia(TreeNode root) { if(root == null) return 0; int left = efficientDia(root.left); int right = efficientDia(root.right); ans[0] = Math.max(ans[0], 1 + left+ right); return 1+ Math.max(left, right); } //O(n^2) public int getDiameter(TreeNode root) { if(root == null) return 0; int leftHeight = getHeight(root.left); int rightHeight = getHeight(root.right); if(ans[0] &lt; 1 + leftHeight + rightHeight) { ans[0] = 1 + leftHeight + rightHeight; } return Math.max(getDiameter(root.left), getDiameter(root.right)); } Minder

int ans[] = new int[1]; //O(n) public int efficientDia(TreeNode root) { if(root == null) return 0; int left = efficientDia(root.left); int right = efficientDia(root.right); ans[0] = Math.max(ans[0], 1 + left+ right); return 1+ Math.max(left, right); } //O(n^2) public int getDiameter(TreeNode root) { if(root == null) return 0; int leftHeight = getHeight(root.left); int rightHeight = getHeight(root.right); if(ans[0] &lt; 1 + leftHeight + rightHeight) { ans[0] = 1 + leftHeight + rightHeight; } return Math.max(getDiameter(root.left), getDiameter(root.right)); } private int getHeight(TreeNode root) { // TODO Auto-generated method stub if(root == null) return 0; return Math.max(getHeight(root.left), getHeight(root.right))+1; } Minder

Indians at all companies always ask tree questions, it makes them giggle inside. I know, because I'm half indian and have interviewed people... tee hee hee Minder

### What happens when you delete the Sysvol folder?

1 antwoorden

Never delete the Sysvol File since it a critical file that regulate replication among domain controllers. It also manage File Replication Service to share files and Scripts as well as Group Policy to get applied in the domain. Once deleted please refer to your next backup DC to restore your PDC or the deleted DC's Sysvol. Minder

### how do you build your stack from cloudformtion

1 antwoorden

how do you orchestrate using kubenetes

### Code the FizzBuzz algorithm

1 antwoorden

Created an algorithm using if/else statements for returning either "fizz", "buzz" or "fizzbuzz". Minder

### About VPC Peering Auto scaling Concept EMR S3 GIT Docker

1 antwoorden

About my Experience which already come across

### -Write code for us in real time

1 antwoorden

I provided a back-end call to a MongoDB database.

### come avresti disegnato il seguente DB data le richieste dell'esercizio a casa?

1 antwoorden

DB relazionale con PKs e foreign key etc.

### Given the following scenario, what would you recommend to the client? [An example scenario with minimal detail was provided, that is a chance to show your skills as a Cloud and DevOps engineer]

1 antwoorden

Asked further discovery questions, provided whiteboard solution, asking further questions as required. Minder

### Syntax of Linux and all

1 antwoorden

And profit loss questions , speed distance time questions

Weergave: 1 - 10 van 315 sollicitatievragen

## Sollicitatievragen weergeven voor vergelijkbare functies

tpf systems developersystems software engineer