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 }

3194

#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 6333

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

2 4553

Post New Facebook C Interview Questions




Un-Answered Questions

What is frequncy?

1082


Explain the benefits of proper inheritance.

1162


What is jsp translation time?

920


What is BSSID?

1898


Im Simil,doing 6th semester Electronics & Communication Engineering.After completing my course I would like to be an integral part of Siemens technology.For dat when & how shoult I apply?

2189


Can I do transforms or add new functionality?

95


how to fin top two miximum values in sql? not 2nd both max value of 1st and 2nd both have to find out

1929


What is aot in angular?

804


How do you foster a culture of continuous improvement among production teams? Can you share an example of a successful continuous improvement initiative you led?

1


What are dynamic actions and how do you create dynamic actions in sap?

1076


Explain relationship between jdbc and sybase.

915


Whats the difference between registerclientscriptblock, registerclientscriptinclude and registerclientscriptresource?

1058


What is the use of drupal?

97


When should I use microsoft access vs excel?

670


Why script error occur in between recording in qtp?

2286