create this function: // Assign value val to interval [keyBegin, keyEnd). // Overwrite previous values in this interval. // Conforming to the C++ Standard Library conventions, the interval // includes keyBegin, but excludes keyEnd. // If !( keyBegin < keyEnd ), this designates an empty interval, // and assign must do nothing. void assign( K const& keyBegin, K const& keyEnd, V const& val ) {
C Software Developer Interview Questions
396 c software developer interview questions shared by candidates
What is polymorphisism?
you should make a function that receive an array of objects and return sort array. what all the arguments do you need to receive ?
Which one would be used for email, TCP or UDP?
Really look up any "C++ interview questions" website and memorize them. Things like: - Whats "new" - OOP in C++ - Overloading vs overriding, - Vector vs list - Smart pointers - l-value vs r-value - C++ standards and their relevancy, what they brought, etc.
Calculating sum of vectors without in built functions.
He asked to write a pseudocode for reversing a linked list.
Assessment questions are like SQL queries ,They will list 2 tables fields and will give you question to create query on listed questions. (Based on Joins and Aggregate functions) in my case I got example of Bank and Bank trans 2 tables. -c#.net Interview Questions - Arrays in details. -Linkedlist -inheritance -interface -How to sort array in C#.net(Ascending or descending) -Difference between Value type and Reference type SQL-Questions: -Indexing -Stored procedure -Joins (inner and left join) -Normalization
Technical phone interview consisted Questions on C++-related topics like inline, reference, etc, OS, STL
First round: Hackerrank Test. Question: Given a string which contains only A and B, remove all the occurrences of AB and BB until the string doesn't contain any of these 2 substrings. Return the length of the original string after removing all the occurrences of the above substring. eg: "ABAABBA" answer: 1 2nd Round: One-on-One Interview(Online) Questions: What is a dangling pointer? In what scenario does a pointer become dangling? What was your role in your previous company? What features did you work on for the project in previous company? What were some mistakes you made and how did you correct them? 2 predict the output questions: int a=1; print("%d\n",(a++)*(++a)); char *p = 'a'; delete a; 2 coding questions: Print a singly linked list in reverse order(A:Recursion) How to detect a loop in a linked list(A: Hare and Tortoise Algo) (Avoid using extra space) What are some projects you did and explain the one you liked. After receiving the offer: HR Assesment: Cognitive Analysis and Psychological analysis test(30 mins non-proctored simple test)
Viewing 251 - 260 interview questions