ar
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 342
المشتركون
-224 ساعات
-207 أيام
-5530 أيام
أرشيف المشاركات
import java.io.*; import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); String str = sc.next(); int harryCuts = sc.nextInt(), potterCuts = sc.nextInt(); int iterations = 0; String afterCuts = str; while(true) { iterations++; if(shiftString(afterCuts, harryCuts+potterCuts).equals(str)) { iterations++; break; } else if(shiftString(afterCuts, harryCuts).equals(str)) { break; }else if(shiftString(afterCuts, potterCuts).equals(str)) { break; } afterCuts = shiftString(afterCuts, harryCuts+potterCuts); iterations++; } System.out.println(iterations); } public static String shiftString(String str, int shiftCount) { String result; result = str.substring(str.length() - shiftCount, str.length()) + str.substring(0, str.length() - shiftCount); return result; } } 2nd code mount blue java

a = list(input()) b =[] c = "" for i in a: if i not in b: x = a.count(i) if x==1: c=c+i else: c=c+i+str(x) b.append(i) print(c) mount blue 1st code -python

Hello Guys! We have tried our best to solve all the questions 😊. If you want to support us and further receive help in any exam please donate to us.msg us if u interest to donate us .@ILOVEU_000😊❤️ so that we could know and help you personally also for any future exams. The amount is upto you guys. Show some love so that our team also feel motivated 😊👍

Today I will post 3 jobs: 1 job for 2019 to 2022 1 job for 2021 and 2022 1 job for 2023 Stay tuned 📌

Placements Help Available 👍👍 If you also want to crack your current placements Contact: @ILOVEU_000 Book your slots ASAP Scroll above and check the work 💯 Clearence @Coding_000 Note: It's paid💶🤑 ✅Share✅Share✅Share ✅share✅

My request to our group family don't trust anyone simply and don't lose money 🙏

Placements Help Available 👍👍 If you also want to crack your current placements Contact: @ILOVEU_000 Book your slots ASAP Scroll above and check the work 💯 Clearence @Coding_000 Note: It's paid💶🤑 ✅Share✅Share✅Share ✅share✅

Coding | EXAMS | IBM ACCENTURE | VIRTUSA | IBM | AMAZON | TCS | EPAM | WILEY EDGE | TECH MAHINDRA | JPMORGAN | HCL | WIPRO - إحصائيات وتحليلات قناة تيليجرام @coding_000