Pergunta de entrevista da empresa Flexcar

Flex car Round 1 on-line assessment It was totally based on mcq which was from DSA , DBMS , OS , Java ,c++ security testing etc Also I was given two DSA questions Questions no 1 : waste of time It was based on dp Questions no 2: based on candy flavour selection from store Based on recursion ... Round no 2 : It was technical round totally based on DSA Start from project discussion Some oos questions like 4 pillors of oops . Define encapsulation class with example also have to implement class . Now ask to give apporach of ot round questions Then ask 2 questions from array that is Questions no 1: Given string have to find depth of the string . If strings bracket is not correctly placed have to implement user defined exception and return it else return depth of brackets Example ((()))()()() Ans : 3 ((() Ans : throws exception Questions 2 : Given consecutive pairs of integers but one integer is not consecutive return index of that faulted integer. Not necessary to be in sorted order but pairs are always together Example 1,1,3,3,2,4,4,0,0 Ans : 4 Questions 3: write code of simple bfs and DFS traversal Round 3 : Questions no 1: implement 2 threads in Java t1 and t2 such that when you call t1 thread it will print even number and when you call t2 thread it will print odd number . It will work independently. And concurrently . Questions 2 : Given ans array you have to written 2 maximum elements in that array Tc : o(n) no two traversal are allowed Questions 3: given a binary tree you have print a right view of that tree . After that they ask Questions from computer networking That is if you are given a link that is supposed https//www.flexcar.com then what does each word signifying . Like what is domain here etc What is DNS . What is semaphore . How it work Could you please implement semaphore is first thread questions . Round 4 : HR Here questions was very basic Totally from resume Ask about yours family background Why you choose Jsr in nimcet . Are you comfortable in Bangalore. Do you family has any issues regarding location. End ..,...............

Resposta da entrevista

Sigiloso

8 de dez. de 2023

I answer all the questions