How to answer my low GPA
Junior C Developer Interview Questions
172 junior c developer interview questions shared by candidates
what is the way to do the function more efficiency?
None None None None None
greedy algorithm
Given a square chessboard of N x N size, the position of Knight and position of a target is given. Find out the minimum steps a Knight will take to reach the target position.
There was a technical test on C++ for me very difficult
How can a string which may only contain four different letters be represented in a class and use minimal storage?
Identify memory leak: // this function has a memory leak. Can you find it? int i = 5; // <-- char *pszString = (char *)malloc(32); memset(pszString, 0, sizeof(32)); strcpy(pszString, "hi"); if (i > 5) { sprintf(pszString, "%i is greater than 5", i); printf("%s\n", pszString); free(pszString); } else if (i < 5) { sprintf(pszString, "%i is less than 5", i); printf("%s\n", pszString); free(pszString); } }
Count letters in a sentence omitting non alphabet characters: /// /// E.g given the // input string "Hello there!", print the output has to be 'h': 2 /// 'e': 3 'l': 2 'o': 1 't': 1 'r': 1 /// /// input The string containing the letters to count /// // Omit any character that is not in the English alphabet
got 3 houres to make a static and dynamic library, and threads with memory allocation problems in array.
Viewing 41 - 50 interview questions