![]() |
Interview experience: Druva Round 1 : Coding Aptitude: 2 parts
(fib seq: 0,1,1,2,3,5,8,13,21….)
Ex. I/p: 7649833 Ans. 98 Round 2: Technical interview (40 min.) CNS QUESTIONS:
OS QUESTIONS:
Linux questions:
directories and files present in Linux on the terminal Coding problems given in the technical round to write on paper: 1. Write a program in any language the find a particular string present in the file or not. (I solved this using the file handling concept in Java) 2. Write a program in any language to remove the duplicate lines from the given log file. (I solved this in Java using HashSet and file handling) 3. Given a list of single-digit integers we have to find the occurrences of 0,0,7 in sequence There may other integers present between 0 and 0,7 Example: Input list : [2,0,5,0,7,3] Output: 1 occurrence of 0,0,7 Coding problem asked to others:
Round 2: Technical + HR interview : I was not selected after technical, this was my first interview. |
Reffered: https://www.geeksforgeeks.org
Experiences |
Type: | Geek |
Category: | Coding |
Sub Category: | Tutorial |
Uploaded by: | Admin |
Views: | 12 |