employer cover photo
employer logo

Pergunta de entrevista da empresa VMware

OS: Questions regarding file systems, distributed systems, Process and memory related questions. Coding: 1. swap the k th element from the head and the end of the linked list. e. g. In a linked list --> [1, 2, 3, 4, 5] if k == 2 then output will be [1, 4, 3, 2, 5] 2. convert a binary tree into binary search tree without disrupting the structure. e. g. 10 8 / \ / \ 2 8 ==> 4 10 / \ / \ 4 7 2 7