Faulty Keyboard Codevita 9 Solution 2020

Faulty Keyboard Codevita 9 Solution Python Code : p=input(“”) q=input(“”) p=list(p.split(” “)) q=list(q.split(” “)) for t in range(0,len(q)-1): c=[0 for i in range(t,len(q))] for i in p: for j in range(len(q)): k=0 while(k1): m2=c.index(m1) for i in range(m2,len(c)): if(c[i]==m1): if(ord(q[i])<ord(q[m2])): m2=i else: m2=c.index(m1) q[m2],q[t]=q[t],q[m2] print(“”.join(q))   DOWNLOAD THE SOLUTION  Codevita Season 9 All Questions Solutions Listed … Read more

Signal Connection Codevita 9 Solution 2020

Signal Connection Codevita 9 Solution C++ Code : #include using namespace std;const int r=6371;double Radian(double degree){double pi = 3.14159265359;return (degree * (pi / 180));}double findd1(double lt,double ld,double x,double y){double a,c;lt=Radian(lt);ld=Radian(ld);x=Radian(x);y=Radian(y);a= pow(sin((lt-x)/2),2)+cos(lt)*cos(x)*pow(sin((ld-y)/2),2);c=2*atan2(pow(a,0.5),pow(1-a,0.5));return r*c;}int main() {int n;cin>>n;int c=0;double lt[n];for(int i=0;i>lt[i];}double ld[n];for(int i=0;i>ld[i];}int h[n];for(int i=0;i>h[i];}double x,y;cin>>x>>y;for(int i=0;i=d1){c=c+1;}}cout<<c;return 0;} DOWNLOAD THE SOLUTION Codevita Season 9 All Questions Solutions Listed … Read more

Closing Value Codevita 9 Solution

  Closing Value Codevita 9 Solution Python Code : n = int(input()) trades = []buy = {}sell = {}transaction = {}for i in range(n): tID, tType, company, price,quantity = input().split()dic = {}dic[‘id’] = int(tID)dic[‘type’] = tTypedic[‘company’] = companydic[‘price’] = float(price)dic[‘quantity’] = int(quantity)trades.append(dic)for t in trades:    if t[‘type’] == ‘Sell’:        if t[‘company’] in sell: sell[t[‘company’]].append([t[‘price’],t[‘quantity’]])       … Read more

Single Lane Highway Answer | Solution 2020

Single Lane Highway Answer | Solution 2020 1. Contrasted with a level surface,on a dropping slope the halting sight separation is A. less  B. more  C. same D. dependent on the speed 2. On a solitary path street with two way traffic,the least halting sight separation is equivalent to A. stopping separation B. two times … Read more

Railway Station Codevita 9 Solution

Railway Station TCS Codevita 9 Solution 2020 Problem Description Given timetable of trains and their stoppage time at a Railway Station, discover least number of stages required.  Note –  In the event that Train A’s flight time is x and Train B’s appearance time is x, at that point we can’t oblige Train B on … Read more

close
error: Content is protected !!
Free Udemy Courses and Hacking Resources Join Us on TelegramClick Here
+