Topic — Add New » Posts Last Poster Freshness
NetApp Interview Question for Software Engineer/Developer about Data Structure 1 2 years

How would you implement the Unix fork() system call. What are the data structures involved in this process?

TIme and Space Complexity- O notation 3 2 years

Hi,

Came across ur forum and liked the explanations for various topics.

I have never understood the O notation and the way its calculated.

Even in the DS linked list and other searching/sorting i understand the logic but not how the time and space complexity is calculated.(and that tends to answer just half of the question in interviews.. :( )

Please give me ptrs for detailed explanation or link if this forum has already discussed the same.

TIA,
Karthe...

Google Interview Question for Software Engineer/Developer (2-5 Years) about Data Structure 1 Naveen 2 years

Implement your own hash map from scratch. Make it thread safe.

Google
Google Interview Question for Software Engineer/Developer (2-5 Years) about Data Structure 1 Naveen 2 years

Code your own implementation of Doubly linkedlists, Binary Tree

Google
A data structure for text editor 2 2 years

Implement an ADT for a buffer in a text editor. It should support the following operations:
* insert(c): insert character c at cursor
* delete(): delete and return the character at the cursor
* left(): move the cursor one position to the left
* right(): move the cursor one position to the right
* get(i): return the ith character in the buffer

You have an array of 1 million integers, there is at most one 5 in the array. 1 geek4u 2 years

You have an array of 1 million integers, there is at most one 5 in the array. Write code to find the index of 5, or return -1 if there is no 5. The array can be put into main memory.

A text processing question 3 2 years

There is a large text file, and every line of which is a single word. How to write a C++ function that takes this file as input and returns the words which only occurs once.