Mobile Applications Developer Interview Questions | Glassdoor

Mobile Applications Developer Interview Questions

46

Mobile applications developer interview questions shared by candidates

Top Interview Questions

Sort: RelevancePopular Date

Given an array of characters which form a sentence of words, give an efficient algorithm to reverse the order of the words (not characters) in it?

1 Answer

#include"stdio.h" #include"stdlib.h" int reverse(char *string, char delimiter) { char *src, *dest; char *temp = string; while( *temp ) { if (*temp == delimiter) { temp++; continue; } src=dest=temp; while ( (*(dest+1) != delimiter) && ( *(dest+1) != '\0' )) dest++; //( *(dest+1) != '\n' ) && temp=dest+1; while( dest > src ) { char tmp = *dest; //*dest -- = *src; *dest = *dest-- *src; //*src++=tmp; *src = *src++ tmp; } } return 0; } int main() { char name[] = "vinod kumar dhochak"; printf("%s\n",name); reverse(name,' '); /* space as delimiter,Reverse Words */ printf("%s\n",name); reverse(name,'\n'); /* Reverse Complete Sentence */ printf("%s\n",name); }

In your experience, what have you done when something unexpected happened?

1 Answer

They asked me questions about particular Apple iOS Class interfaces.

1 Answer

Asked me to develop a sample mobile application

1 Answer

Any developer before getting selected will have to pass the project based scenario test

what is the best thing you learnt in a years time? why its best?

How can you stop a class from getting copied ?

110 of 46 Interview Questions