Please help me on below interview questionsHI,
Recently i have attend interview in one of the MNC company. while interview discussion we have faced below some kind of interview questions can you please help any one answers for below questions
1. Assuming we are now using a framework/SDK that is without Hash table, please describe how we can implement a hash table with using only primitive data types. You may start be describing what are the main features required by a simple hash table and the suggested solution.
2. If we would like to dynamically load a library file (C#: *.dll / JAVA: *.jar) during runtime and overriding some of the current functions, how to do that?
3. In a multi-threaded application, we started multiple threads at the same time. Then, how to block the application execution until all threads complete the execution? (we do not want the thread to be executed in sequential order, we want the thread to fully utilize the CPU resources.)
4. Please suggest a way that can do inter-process communication with another process, not limited to .Net process.