31:48 // Easy way to solve problem on mixture of two series //Alternative series of multiple 6 & 7 #include int main(){ int n ,a; scanf("%d",&n); if (n==0) printf("0"); else if (n%2==0) { a = (n/2)-1; printf ("%d",a*6); } else { a=(n/2); printf ("%d",a*7); } return 0; }
@mesmerizing7612 ай бұрын
Nice explanation bro ❤
@knowledgebhajja20192 жыл бұрын
Sir please wipro k exam k liye v same video bana dijiye We will thankful to you ❤️❤️🙏🙏🙏
@temp0arjun2132 жыл бұрын
for last code: #include using namespace std; int main() { int t1=0,t2=0,n=15,next; for(int i=3 ; i
@soumyapandey6402 жыл бұрын
for que 1, will this work? int main(){ int n,len; int sum; cin>>n>>len; if(n>2&&n>10&&len>1&&len
@dipayanbhattacharjee46023 жыл бұрын
Sir in the factorial problem you should have added condition for 0 and 1.
@Sonalisingh33 жыл бұрын
Can anyone tell me that how to cout the value in decimal (like, 23.2, 168.0) only till one digit after decimal in C++.
@krishanudutta29433 жыл бұрын
We have to include a header file at first which is #include then, cout
@krishanudutta29433 жыл бұрын
#include -> we have to include this header first Then, cout
@mis.creative162 жыл бұрын
Hlo sir , I have compiled one program ,saved ,but not submitted . Other one I have submitted (but got error) Will I be qualified ??
@SP-cx6yj2 жыл бұрын
same thing happen with me also, And I can't even submitted second question
@shubhamahuja03102 жыл бұрын
Python codes par bhi videos banaye......
@sreekanthvaddineni8463 жыл бұрын
Please upload more coding questions not only tcs drive u can do all drives it will be helpful to us
@navyakadali50863 жыл бұрын
will there be any problem in compiling if we write code in python? will they allow all languages?
@Timekepper2 жыл бұрын
can you please solve the 2nd problem with python
@Ramprasath-rr6pj2 ай бұрын
a=[int(i) for i in input()] h=1 m=[] for i in a: k=[] for j in range(i): k.append(j+1) m.append(k) k=[] for i in m: for j in i: h*=j k.append(h) h=1 g=sum(map(int,k)) r=("".join([str(i) for i in a])) k=0 if str(g)==str(r): print("yes") else: print("no")
@placementpreparationformnc24083 жыл бұрын
Good explanation thanks for providing
@shauryagupta83873 жыл бұрын
In the last problem, why did we subtract a-7 and a-6?
@vinayakamamrutha88412 жыл бұрын
same doubt
@vinayakthote84112 жыл бұрын
@@vinayakamamrutha8841 because the value got incremented in last iteration by 7 and 6 and we dont want increment in the last iteration
@temp0arjun2132 жыл бұрын
Bcoz in above code we know for i=1 and i=2 its 0,0 still we are calculating as per code so we need to subtract that. OR check my code: #include using namespace std; int main() { int t1=0,t2=0,n=15,next; for(int i=3 ; i
@mdrizwanalam42133 жыл бұрын
What do u think , Is anyone from these questions will ask in tomorrow's NQT exam?
@jayantpawar97832 жыл бұрын
No
@-Karnakar3 жыл бұрын
is this correct code for last problem please help me n=15 l1=[] for i in range(0,n): l1.append(i*7) l1.append(i*6) print(l1[n-1])
@baithivinaykumar3 жыл бұрын
n=int(input()) s=0 c=0 for i in range(n): if i%2!=0: s=s+7 else: c=c+1 if (n%2!=0): print(s) else: print(c) Try this broo
@mohamedaslam8562 жыл бұрын
@@baithivinaykumar all correct but not c=c+1......its c=c+6
@baithivinaykumar2 жыл бұрын
@@mohamedaslam856 yes bro its typo error >:)
@RajaRajaKonda2 жыл бұрын
result =n/2*(6+n%2)
@babycool58662 жыл бұрын
How many marks for each coding
@subajitpaul84793 жыл бұрын
Sir, I've not received my hall ticket yet. What should I do now
@Sonalisingh33 жыл бұрын
You can check it on your TCS ion dashboard
@subajitpaul84793 жыл бұрын
@@Sonalisingh3 how to login that page? And website name?
@Venkatesh275153 жыл бұрын
Dear Sir/Madam, PFB the links the candidates can use to check their Ninja exam schedule incase they did not receive any e-mail from TCS. For hallticket related queries also candidates can check the below links. View Exam schedule for Online Mode of Exam: iur.ls/RAExam View Exam schedule for In-Center Mode of Exam: iur.ls/NQTLBA If email is not received, NQT Registration number will be the login id for paid candidates. For candidates who have registered only in Ninja link login id will be DT/CT id. password will be mobile number for both. Please pass on this message to students so that they can check their Ninja Exam schedule.
@golimanisivudu85943 жыл бұрын
How much score is required to pass in tcs Ninja written exam ?
@PreparewithTalentBattle3 жыл бұрын
Above 85-90%
@official.frostburn3 жыл бұрын
I've heard that above 70% is enough.
@keshavsharma19493 жыл бұрын
@@PreparewithTalentBattle no it's somewhere around 99.99%
@thefunpalace79543 жыл бұрын
will I get selected for an interview in TCS ninja if I skip the hands-on coding part or do the programming logic part only?
@PreparewithTalentBattle3 жыл бұрын
No
@ayushyadav25803 жыл бұрын
Sir, I am not receiving any mail from tcs for nqt exam till now..... What should I have to do now????
@subajitpaul84793 жыл бұрын
Have you received hall ticket?
@gururam90993 жыл бұрын
Hello sir, can u pls upload coding questions of "pythonlanguage" for tcs ninja
@PreparewithTalentBattle3 жыл бұрын
Try to understand the logic and flow, then you can code in any language
@abhishekkarsh66683 жыл бұрын
Hey buddy check it
@baithivinaykumar3 жыл бұрын
n=int(input()) s=0 c=0 for i in range(n): if i%2!=0: s=s+7 else: c=c+1 if (n%2!=0): print(s) else: print(c) Take this bro
@gururam90993 жыл бұрын
@@baithivinaykumar thanks bro
@sandeshghoti83133 жыл бұрын
1st one correct code is a=int(input()) b=int(input()) prev=a next=0 for i in range(1,b+1): prev=prev+next next=prev-1 print(next) input: 4,1 o/p: 3, i/p:4,2 o/p:6..............4,3,6,12,.....
@aprajitasingh54033 жыл бұрын
iam not gettong the right output in last question.even though the code is correct and even the logic is same as urs
@-Karnakar3 жыл бұрын
Send me I will figure out
@abhishekkarsh66683 жыл бұрын
# code in python S = int(input ("")) n = int(input("")) sum = s prev = 0 For i in range (1, n): Prev= sum-1 sum = sum+prev Print(sum)
@10-anjalijogi203 жыл бұрын
I am getting 9 as o/p can you please help
@mylakondalamma33492 жыл бұрын
@@10-anjalijogi20 #code in python n,len=input( ).split( ) sum=int(n) For i in range( int(len)): Prev=sum-1 Sum=sum+prev Print(sum) Input:4 3 Output : 13
@mylakondalamma33492 жыл бұрын
For I in range (int(len)-1)
@Timekepper2 жыл бұрын
brother can you please solve the 2nd problem with python
@shubhamsharma-ec3re2 жыл бұрын
@@Timekepper def fac(n): if n==0 or n==1: return 1 else: temp=1 for i in range(n,0,-1): temp=temp*i return temp n=int(input()) ans=0 for i in str(n): tempans=fac(int(i)) ans=ans+tempans if n==ans: print('This is an Strong Number') else: print('Not an Strong Number')
@sanatamboli38972 жыл бұрын
We want to estimate the cost of painting a property. Interior wall painting cost is Rs.18 per sq.ft. and exterior wall painting cost is Rs.12 per sq.ft. Take input as 1. Number of Interior walls 2. Number of Exterior walls 3. Surface Area of each interior Wall in units of square feet 4. Surface Area of each Exterior Wall in units of square feet If a user enters zero as the number of walls then skip Surface area values as User may don't want to paint that wall. Calcolate and display the total cost of painting the property Example 1: 6 3 12.3 15.2 12.3 15.2 12.3 15.2 10.10 10.10 10.00 Total estimated Cost: 1847.4 INR TalentBattle Note: Follow in input and output format as given in above example
@sanatamboli38972 жыл бұрын
Plzzz sir ye vala example explain krdo🙏🙌
@hemachandiran39843 жыл бұрын
anyone solved in python, sol pls
@Ramprasath-rr6pj2 ай бұрын
a=[int(i) for i in input()] h=1 m=[] for i in a: k=[] for j in range(i): k.append(j+1) m.append(k) k=[] for i in m: for j in i: h*=j k.append(h) h=1 g=sum(map(int,k)) r=("".join([str(i) for i in a])) k=0 if str(g)==str(r): print("yes") else: print("no")
@yashupadhyay89933 жыл бұрын
If we are not good in coding, then can we pass ninja exam?
@PreparewithTalentBattle3 жыл бұрын
No
@yashupadhyay89933 жыл бұрын
@Abhishek Sanwal thanks i was scared after getting reply no 😅👍
@amj70903 жыл бұрын
@Abhishek Sanwal bro iam almost intermediate at all blocks will I select ?
@keshavsharma19493 жыл бұрын
@Avinash Entirety bhai dono ek sath maat dena, dono mai fail hojayega, waise bhi tcs aur Capgemini dono meh time constraints hai, jiska preparation achaa hai aur jiss company mai jana chahte ho uss hisab se dedo kisi ek mai.
@raghulradcliffe42423 жыл бұрын
Need video in c and in not c++
@PreparewithTalentBattle3 жыл бұрын
Try to understand the logic and flow, then you can code in any language
@raghulradcliffe42423 жыл бұрын
@@PreparewithTalentBattle thank u 🙏
@sureshme52573 жыл бұрын
First view
@BestOfSharkTankIndia3 жыл бұрын
Aree tcs ninja ka coding questions ban toh jaayega bs unlogo ka compiler work krna chahea😂😂😂😂😂😂😂😂