The hardest problem posed was the C# function I had to write. Write a function that accepts a character parameter such as "8" and then returns its digit value which would be 8 in this case. You cannot use any helper functions, casting or conversion functions. int ParseCharToInt(char c)
Programmer Intern Interview Questions
716,506 programmer intern interview questions shared by candidates
given a chess board that is 3 x 3 squares, and only one piece, the knight, write a program that will move the knight from any starting location to any other (given) location in the board and return an error if it can not.
The most unexpected question was when they asked me to provide them the result of 2 to the power of 8. Really?
Given a positive integer N, write a function to return a list of the first N fibonacci numbers in order. For example, if N=5, the output list is 0 1 1 2 3.
Mostly, they asked to describe my current responsibilities in detail.
Is this valid/what would this do (C): int *p; p=0; p++; printf("%d",p);
You have a large data file, consisting of ten-digit numbers separated by new-line characters. Write a program in C to sort it, using at most 20MB of memory. Make it efficient.
int i=14; if (i=15) i++; How much is i?
1. Write a function to implement the "cat" command in Linux 2. Find the first character that only appears once in the whole string
Viewing 1381 - 1390 interview questions