Coding | EXAMS | IBM ACCENTURE | VIRTUSA | IBM | AMAZON | TCS | EPAM | WILEY EDGE | TECH MAHINDRA | JPMORGAN | HCL | WIPRO
def check_order(boxes): stack = [] for box in boxes: if box in ['(', '{', '[']: stack.append(box) else: if not stack: return box if box == ')' and stack[-1] != '(': โฆ
THis question๐ L1-M2
๐1
def main():
w1 = input().lower()
w2 = input().lower()
w1_list = [0] * 26
w2_list = [0] * 26
for c in w1:
w1_list[ord(c) - ord('a')] += 1
for c in w2:
w2_list[ord(c) - ord('a')] += 1
if w1_list == w2_list:
print(len(w1))
else:
different_letters = []
for i in range(26):
if w1_list[i] != w2_list[i]:
different_letters.append(chr(i + ord('a')))
different_letters.sort()
print("".join(different_letters))
if name == 'main':
main()
WEB dEveloper code โ E1
w1 = input().lower()
w2 = input().lower()
w1_list = [0] * 26
w2_list = [0] * 26
for c in w1:
w1_list[ord(c) - ord('a')] += 1
for c in w2:
w2_list[ord(c) - ord('a')] += 1
if w1_list == w2_list:
print(len(w1))
else:
different_letters = []
for i in range(26):
if w1_list[i] != w2_list[i]:
different_letters.append(chr(i + ord('a')))
different_letters.sort()
print("".join(different_letters))
if name == 'main':
main()
WEB dEveloper code โ E1
๐2
Any one want projects -mini or Major ๐ Unique project๐ฅ๐ฅ
Domain AI/ML
contact -@ILOVEU_143 โค๏ธ
Anyone need help in GRE and TOFEL Exam help ๐จโ๐ป๐จโ๐ป
SOP , LORโ๐
Note -paid ๐ค
shareโ share โ @Coding_000
Domain AI/ML
contact -@ILOVEU_143 โค๏ธ
Anyone need help in GRE and TOFEL Exam help ๐จโ๐ป๐จโ๐ป
SOP , LORโ๐
Note -paid ๐ค
shareโ share โ @Coding_000
๐1
enc=encoded=3_hBf7XNPTK0nFFzvt9WUNFBx6pAnIlSVCqAP3VPlCt7CBg7Dg3.docx
33.4 KB
Resume for deliotte.. ๐๐
๐1๐ฅฐ1
In this channel i will share all 2023 batch offcampus job ๐ค๐ค
https://t.me/Offcampus_000
https://t.me/Offcampus_000
Telegram
Off Campus Updates | AMAZON | IBM | TCS | WIPRO | WILEY EDGE | VIRTUSA | MINDTREE | COGNIZANT
IT Walkins, Off Campus Drives, Walkins, Off Campus Drive & Internship Updates
BE, BTech, ME, MTech, BCA, BSc, MCA, BBA, BBM, MSc, MBA IT Freshers Jobs
Join our group for queries, doubts and discussions
https://t.me/offcampus_000
BE, BTech, ME, MTech, BCA, BSc, MCA, BBA, BBM, MSc, MBA IT Freshers Jobs
Join our group for queries, doubts and discussions
https://t.me/offcampus_000
๐1
Everyone join this for off-campus updates @whitehatcodingโค๏ธ
๐2
Happy rose day guys..๐น๐น
๐ @ILOVEU_143 ๐
๐ @ILOVEU_143 ๐
โค10๐1๐ฅฐ1๐1
Propose day guys..๐๐
๐ @ILOVEU_143 ๐
๐ @ILOVEU_143 ๐
โค1๐ฅฐ1๐1
Wiley edge
Amazon Sde
AMcat
Deliotee
or any exam help available ๐ฅ๐ฏ
Book your slot
Contact here @ILOVEU_143โ
Note: It's Paid ๐ฐ๐ฐ
Shareโ @Coding_000๐ฏ๐ฅ
๐ฏ Clearance and genuine help
Check all previous proofs ๐๐ฏ
Amazon Sde
AMcat
Deliotee
or any exam help available ๐ฅ๐ฏ
Book your slot
Contact here @ILOVEU_143โ
Note: It's Paid ๐ฐ๐ฐ
Shareโ @Coding_000๐ฏ๐ฅ
๐ฏ Clearance and genuine help
Check all previous proofs ๐๐ฏ
๐2๐ฅ1๐ฅฐ1
Any one want projects -mini or Major ๐ Unique project๐ฅ๐ฅ
Domain AI/ML
contact -@ILOVEU_143 โค๏ธ
Anyone need help in GRE and TOFEL, GMAT, DUOLINGO Exam help ๐จโ๐ป๐จโ๐ป
SOP , LORโ๐
Note -paid ๐ค
shareโ share โ @Coding_000
Domain AI/ML
contact -@ILOVEU_143 โค๏ธ
Anyone need help in GRE and TOFEL, GMAT, DUOLINGO Exam help ๐จโ๐ป๐จโ๐ป
SOP , LORโ๐
Note -paid ๐ค
shareโ share โ @Coding_000
๐2
๐2
Don`t waste money for accolite..
All ans here @Coding_000
just scroll above...
share with ur frds โ ๐
All ans here @Coding_000
just scroll above...
share with ur frds โ ๐
๐1
Beauty code Accolite pythonโ
@Coding_000 โค๏ธ
share to ur friends and whatsapp to help eachother.๐ ๐
@Coding_000 โค๏ธ
share to ur friends and whatsapp to help eachother.๐ ๐
๐3๐1
Coding | EXAMS | IBM ACCENTURE | VIRTUSA | IBM | AMAZON | TCS | EPAM | WILEY EDGE | TECH MAHINDRA | JPMORGAN | HCL | WIPRO
Beauty code Accolite pythonโ
@Coding_000 โค๏ธ share to ur friends and whatsapp to help eachother.๐
๐
https://t.me/whitehatcoding
https://t.me/whitehatcoding
https://t.me/whitehatcoding
Join this ๐๐๐
for more...Answers upcoming..๐ ๐
https://t.me/whitehatcoding
https://t.me/whitehatcoding
Join this ๐๐๐
for more...Answers upcoming..๐ ๐
๐2
ษขษชแด แด สแดแดแดแดษชแดษด ษขแดสแดขแดข โค๏ธ๐
โค9
#include<bits/stdc++.h>
using namespace std;
int main(){
int t;
cin>>t;
while(t--){
int n;
cin>>n;
string s;
cin>>s;
unordered_set<char>st;
int flag=0;
for(int i=0; i<n; i++){
if(st.find(s[i])!=st.end()){
flag=1;
break;
}
st.insert(s[i]);
}
if(flag)
cout<<n-2<<endl;
else
cout<<-1<<endl;
}
}
Bi_lindrome solution C++โ
@whitehatcodingโค๏ธ
using namespace std;
int main(){
int t;
cin>>t;
while(t--){
int n;
cin>>n;
string s;
cin>>s;
unordered_set<char>st;
int flag=0;
for(int i=0; i<n; i++){
if(st.find(s[i])!=st.end()){
flag=1;
break;
}
st.insert(s[i]);
}
if(flag)
cout<<n-2<<endl;
else
cout<<-1<<endl;
}
}
Bi_lindrome solution C++โ
@whitehatcodingโค๏ธ
๐1