Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Company Name Starts with ...
#  A  B  C  D  E   F  G  H  I  J   K  L  M  N  O   P  Q  R  S  T   U  V  W  X  Y  Z

Facebook C Interview Questions
Questions Answers Views Company eMail

You have given 2 array. You need to find whether they will create the same BST or not. For example: Array1:10 5 20 15 30 Array2:10 20 15 30 5 Result: True Array1:10 5 20 15 30 Array2:10 15 20 30 5 Result: False One Approach is Pretty Clear by creating BST O(nlogn) then checking two tree for identical O(N) overall O(nlogn) ..we need there exist O(N) Time & O(1) Space also without extra space .Algorithm ?? DevoCoder guest Posted 3 months ago # #define true 1 #define false 0 int check(int a1[],int a2[],int n1,int n2) { int i; //n1 size of array a1[] and n2 size of a2[] if(n1!=n2) return false; //n1 and n2 must be same for(i=0;ia1[i+1]) && (a2[i]>a2[i+1]) ) ) return false; } return true;//assumed that each array doesn't contain duplicate elements in themshelves }

3191

#include #include struct stu { int i; char j; }; union uni { int i; char j; }; void main() { int j,k; clrscr(); struct stu s; j=sizeof(s); printf("%d",j); union uni u; k=sizeof(u); printf("%d",k); getch(); } what is value of j and k.

2 6321

#‎include‬ void main() { int i; for(i=5;0;i++) { printf("%d",i); } }

2 4539

Post New Facebook C Interview Questions




Un-Answered Questions

How is the marker interface used in Java?

1100


How will you drop variables using indices in a data frame?

375


Explain about objects in PHP?

1009


What is routing and how it's work?

199


Where can the metastore database be hosted?

5


What are the advantages of zend framework 3? Explain

193


Explain your role while working in a team.

1178


What is python? State some programming language features of python.

871


Please guide me... We are dealing in trading of industrial material. What is the difference between importer, 1st stage dealer, 2nd stage dealer and 3rd stage dealer? Whether all of these above can pass on the excise duty to the end user. Please tell me and thanks in advance.

1999


Tell about your work experience. Why you quit that job?

2381


how can you get the errors in job? when loops are araised we get error?

2123


Shall I use 40A semiconductor Fuses in 32 A SFU ? Frame size is same. What Happen if Fuses burn on SFU?

2121


Define data page.

1072


What is the best method for Storing Objects in Cassandra ?

86


What are cookies in analytics?

198