uk
Feedback
Coding | EXAMS | IBM ACCENTURE | VIRTUSA | IBM | AMAZON | TCS | EPAM | WILEY EDGE | TECH MAHINDRA | JPMORGAN | HCL | WIPRO

Coding | EXAMS | IBM ACCENTURE | VIRTUSA | IBM | AMAZON | TCS | EPAM | WILEY EDGE | TECH MAHINDRA | JPMORGAN | HCL | WIPRO

Відкрити в Telegram

Main channel https://t.me/Coding_000 Contact Admin 👉 @ILOVEU_143 for booking your exam slots Web- https://coding000.github.io/Projects/ 💯% clearance in any placement exams OffCampus -https://t.me/Offcampus_000 Discussion- https://t.me/exams_discussion

Показати більше
3 341
Підписники
Немає даних24 години
-117 днів
-5030 день
Архів дописів
Mindtree  slots available ✅✌️ For Sep 4th slots only message me 100% clearance garenteee 🤩✅ NOTE -PAID😁 Contact - @ILOVEU_000

✅Guys I am not getting any  questions Please please ✅Post your coding questions here in this group https://t.me/+TF1M5QbSkTEwNjA1 https://t.me/+TF1M5QbSkTEwNjA1

so please share our channel 😁 @Coding_000 All virtusa solutions provided ✅Share✅Share✅Share ✅share✅ MAKE 2.5K😍

#include #include using namespace std; struct bst { int data; bst *left; bst *right; }; bst* insert(bst *root, int x) { if(ro
#include<iostream> #include<cmath> using namespace std; struct bst { int data; bst *left; bst *right; }; bst* insert(bst *root, int x) { if(root==0) { bst *root=new bst(); root->data=x; root->left=root->right=0; return root; } if(x<=root->data) root->left=insert(root->left,x); else if(x>root->data) root->right=insert(root->right,x); return root; } int max_kill(bst *root) { if(root==0) return -1; return max(max_kill(root->left),max_kill(root->right))+1; } int main() { int t,n,x; cin>>t; for(int j=1; j<=t; j++) { cin>>n; bst *root=0; for(int i=1; i<=n; i++) { cin>>x; root=insert(root,x); } int result=max_kill(root)+1; if(result==-1) cout<<"0"; else cout<<result; cout<<endl; } return 0; } Martin code -c++ @Coding_000

so please share our channel 😁 @Coding_000 All virtusa solutions provided ✅Share✅Share✅Share ✅share✅ MAKE 2.5K😍

so please share our channel 😁 @Coding_000 All virtusa solutions provided ✅Share✅Share✅Share ✅share✅ MAKE 2.5K😍

Can i have post all virtusa solutions here for free
Anonymous voting