str1=input() str2=input() l=[] for i in str2: if i in str1: l.append(i) #print(l) for i in range(len(str1)): if l[0]==str1[i]: print(i) break let me know whether it is crct or not
Hi needed clarity over the taking test cases input in code editor thing you said in earlier videos. Kindly make a video on this or provide link if you have already 22:27 acha iski baat chal rahi thhi? No problem. I thought through file input like striver does
really bhaiya etne simple questions aate h 3rd vala to bahut hi simple h c = 1 a+b just like game arithmatic opeations
Its good to use inbuilt function but if you use the procedural way to solve the sums its better for understanding the logic 😉
please upload more august accenture 2025 coding questions
str1=input()
str2=input()
l=[]
for i in str2:
if i in str1:
l.append(i)
#print(l)
for i in range(len(str1)):
if l[0]==str1[i]:
print(i)
break let me know whether it is crct or not
Hi needed clarity over the taking test cases input in code editor thing you said in earlier videos. Kindly make a video on this or provide link if you have already
22:27 acha iski baat chal rahi thhi? No problem. I thought through file input like striver does
ruclips.net/p/PLU7oG3KNMpIiYZS_HzdVqjfQStHYSerBm
In Question no 3 What if b=0 ; how will it pass the test cases ; BTW great video sir keep it up
Bro, if b=0 then we don't have to perform anything.
@@kanpuriya_engineer code for that>?
😂😂😂 bro i dont think they will give me more than 4 lakh the question level was 2lakh😂.
ruclips.net/p/PLU7oG3KNMpIiYZS_HzdVqjfQStHYSerBm
Can the first ques's code be provided in cpp
#include
int func(string str1, string str2){
size_t val = str1.find(str2);
return val!= string::npos ? val : -1;
}
int main(){
string str1="Hello, World";
string str2 = "World";
func(str1,str2);
return 0;
}
can anyone coe up with code in c++
which question you want
Coding pdf
Coding pdf
Coding pdf
coding pdf
Coding pdf