Q) Given Singly linked list (1->2->3->4->5->6) , convert this list to (1->6->2->5->3->4). 1st's element next is nth element, 2nd's next is n-1th element and so on. --> I gave them one solution that uses stack, but no more extra space is expected, panel was very friendly and helpful they gave me time to time hint and finally I came up with below solution. Solution: 1) Split linked list into 2 halfs 2) Reverse the 2nd half. 3) Now merge 1st and 2nd half again. Q) Internal implementation of Malloc function Q) Move all the 10s at the end of the array, in O(N) Q) Some basic questions on Hashmap, vectors, set,list Q) Some question on OOPS, virtual functions, copy constructor, why & is used in definition of Copy Const etc. PS: I just added this review to admire the panel, they were very kind & friendly, supportive, and give you hints to arrive at the solution.
C Developer Interview Questions
3,501 c developer interview questions shared by candidates
Question about design patterns except singleton.
Anagram checking program
Tell me why you want to be a unity developer
First Round: 1) Tell me about your technical strengths which you used over the time? 2) There is a collection of two different objects which have same parent (may be interface). Display these two different objects from collection on the WPF controls (for example two label etc, list box)? 3) How would you update the binding from above scenario? 4) What is Multithreading and explain it's concepts? 5) Do you know about UML Modelling? 6) Explain your best project? 7) List your strengths out of 5? 8) What are events and delegates? Second Round: 1) Tell you strengths in yes no : TDD, ATDD, Unity Framework, CI, WPF, SQL, Web Api, WCF, Linq 2) Class A {}; Class B: Class A {}...Below object creation is correct or not? B b = New B(); A a = new A(); B b = new A(); A a = new B(); 3) What are extension methods and why they needed? 4) Why partial classes? Why form is partial? 5) What is Linq and through how many types it can be used? 5) there are two tables one is 3x2 and another is 2x2? They have one column common. What are the min and max records that can be matched through join? 6) There is a table with n x 2. Second column has only three types of values? Write a SQL/Linq query to get all the records which have all three items from second column? 7) What is dependency injection and did you use any framework with it? 8) Can you assign Action in where clause of linq? 9) What will happen if a class implements two interfaces which have a method with same signature? Please be prepared t write logic/code on a paper.
Can't reveal exact questions but linkedlist question.
Deadlock, Memory Management coding on string and hashmap
Write a C program to check whether an IP address is correct or not.
First assessment: MCQs on C++, OOPS. Second assessment: I was asked to design a C++ class implementing features as asked in the question.
Enumerate the type of casts that there exist in C++ and their differences.
Viewing 2831 - 2840 interview questions