Coding | EXAMS | IBM ACCENTURE | VIRTUSA | IBM | AMAZON | TCS | EPAM | WILEY EDGE | TECH MAHINDRA | JPMORGAN | HCL | WIPRO
Photo
Colourd ball
Kth palindrome
String container
Play with stacks
Perfectly even
Divisible string
Kth palindrome
String container
Play with stacks
Perfectly even
Divisible string
Kth Palindrome Code
Infosys SP Exam
C++
#include <iostream>
#include <vector>
using namespace std;
const int MOD = 1000000007;
int v(int k) {
return (1 << k) - 1;
}
bool p(int n) {
while (n % 2 == 0) n /= 2;
return n == 1;
}
long long s(int n) {
vector<long long> dp(n + 1, 0);
dp[0] = 1;
for (int i = 1; i <= n; ++i) {
for (int k = 1; v(k) <= i; ++k) {
int l = v(k - 1) - 1;
if (i >= 2 * l + 1) {
dp[i] = (dp[i] + dp[i - (2 * l + 1)] * k) % MOD;
}
}
}
return dp[n];
}
int main() {
int n;
cin >> n;
cout << s(n) << endl;
return 0;
}
Kth Palindrome Code
Infosys SP Exam
C++
Infosys SP Exam
C++
#include <iostream>
#include <vector>
using namespace std;
const int MOD = 1000000007;
int v(int k) {
return (1 << k) - 1;
}
bool p(int n) {
while (n % 2 == 0) n /= 2;
return n == 1;
}
long long s(int n) {
vector<long long> dp(n + 1, 0);
dp[0] = 1;
for (int i = 1; i <= n; ++i) {
for (int k = 1; v(k) <= i; ++k) {
int l = v(k - 1) - 1;
if (i >= 2 * l + 1) {
dp[i] = (dp[i] + dp[i - (2 * l + 1)] * k) % MOD;
}
}
}
return dp[n];
}
int main() {
int n;
cin >> n;
cout << s(n) << endl;
return 0;
}
Kth Palindrome Code
Infosys SP Exam
C++
👍1
👍1
👍5
Any exam help available 🔥💯
Book your slot 👨💻
Contact here @ILOVEU_143❤️
100% clearance guarantee 🔥🔥
Note: it's paid help
💯 Clearance and genuine help😊✌️
Scroll up and check all proofs we helped😁👨💻
Share @Coding_000❤️
Book your slot 👨💻
Contact here @ILOVEU_143❤️
100% clearance guarantee 🔥🔥
Note: it's paid help
💯 Clearance and genuine help😊✌️
Scroll up and check all proofs we helped😁👨💻
Share @Coding_000❤️
👍3❤2🥰1
Hy all ❤️..
👉If anyone needs help in Accenture, IBM ,Revature , nd 📍any placement exams (Off-campus, On-campus), 📍any company internal exams,
🏆Kindly scroll up nd check feedback’s 🔥😍 .
😍For more info pls contact us in WhatsApp nd book ur slots asap : @ILOVEU_143 ✅
Telegram : https://t.me/ILOVEU_143 ✅
👉If anyone needs help in Accenture, IBM ,Revature , nd 📍any placement exams (Off-campus, On-campus), 📍any company internal exams,
IT certifications, and 📍any company interview proxy, kindly contact us. We have a ✅100% success rate in getting candidates selected🏆Kindly scroll up nd check feedback’s 🔥😍 .
😍For more info pls contact us in WhatsApp nd book ur slots asap : @ILOVEU_143 ✅
Telegram : https://t.me/ILOVEU_143 ✅
Telegram
A M i G O
Any exam help available 🔥💯
Book your slot 👨💻
Contact here @ILOVEU_143❤️
100% clearance guarantee 🔥🔥
Note: it's paid help
💯 Clearance and genuine help😊✌️
Scroll up and check all proofs we helped😁👨💻
Share @Coding_000 ❤️
Book your slot 👨💻
Contact here @ILOVEU_143❤️
100% clearance guarantee 🔥🔥
Note: it's paid help
💯 Clearance and genuine help😊✌️
Scroll up and check all proofs we helped😁👨💻
Share @Coding_000 ❤️
👍4
Those who want to clear
Wipro pre on boarding
Revature,
Capgemini 7 AUG
Cognizant CSD
Axis Bank,
HackerEarth,
Tech Mahindra or any on campus or off campus exam help available
Book your slot now ✨
Contact @ILOVEU_143 ✅
Note:- it's paid help 💵
💯% Clearance and genuine help
Check our past results 🥇🥇🤩
Wipro pre on boarding
Revature,
Capgemini 7 AUG
Cognizant CSD
Axis Bank,
HackerEarth,
Tech Mahindra or any on campus or off campus exam help available
Book your slot now ✨
Contact @ILOVEU_143 ✅
Note:- it's paid help 💵
💯% Clearance and genuine help
Check our past results 🥇🥇🤩
👍3
Backdoor jobs
We will provide genuine process
Join 👇👇 https://t.me/backdoorjob_000
https://t.me/backdoorjob_000
We will provide genuine process
Join 👇👇 https://t.me/backdoorjob_000
https://t.me/backdoorjob_000
👍6
Accenture Help 𝗮𝘃𝗮𝗶𝗹𝗮𝗯𝗹𝗲 ✅.
𝗕𝗼𝗼𝗸 𝘆𝗼𝘂𝗿 𝘀𝗹𝗼𝘁.👨💻
𝗖𝗼𝗻𝘁𝗮𝗰𝘁 @ILOVEU_143 ❤️
Hurry Up.
Only limited Slot Left.
Hurry Up.
𝗜𝘁𝘀 𝗽𝗮𝗶𝗱 ✅
𝟭𝟬𝟬% 𝗰𝗹𝗲𝗮𝗿𝗮𝗻𝗰𝗲 𝗴𝘂𝗮𝗿𝗮𝗻𝘁𝗲𝗲 🔥🔥
𝗦𝗵𝗮𝗿𝗲 @CODING_000
𝗕𝗼𝗼𝗸 𝘆𝗼𝘂𝗿 𝘀𝗹𝗼𝘁.👨💻
𝗖𝗼𝗻𝘁𝗮𝗰𝘁 @ILOVEU_143 ❤️
Hurry Up.
Only limited Slot Left.
Hurry Up.
𝗜𝘁𝘀 𝗽𝗮𝗶𝗱 ✅
𝟭𝟬𝟬% 𝗰𝗹𝗲𝗮𝗿𝗮𝗻𝗰𝗲 𝗴𝘂𝗮𝗿𝗮𝗻𝘁𝗲𝗲 🔥🔥
𝗦𝗵𝗮𝗿𝗲 @CODING_000
👍3
Accenture Help 𝗮𝘃𝗮𝗶𝗹𝗮𝗯𝗹𝗲 ✅.
𝗕𝗼𝗼𝗸 𝘆𝗼𝘂𝗿 𝘀𝗹𝗼𝘁.👨💻
𝗖𝗼𝗻𝘁𝗮𝗰𝘁 @ILOVEU_143 ❤️
Hurry Up.
Only limited Slot Left.
Hurry Up.
𝗜𝘁𝘀 𝗽𝗮𝗶𝗱 ✅
𝟭𝟬𝟬% 𝗰𝗹𝗲𝗮𝗿𝗮𝗻𝗰𝗲 𝗴𝘂𝗮𝗿𝗮𝗻𝘁𝗲𝗲 🔥🔥
𝗦𝗵𝗮𝗿𝗲 @CODING_000
𝗕𝗼𝗼𝗸 𝘆𝗼𝘂𝗿 𝘀𝗹𝗼𝘁.👨💻
𝗖𝗼𝗻𝘁𝗮𝗰𝘁 @ILOVEU_143 ❤️
Hurry Up.
Only limited Slot Left.
Hurry Up.
𝗜𝘁𝘀 𝗽𝗮𝗶𝗱 ✅
𝟭𝟬𝟬% 𝗰𝗹𝗲𝗮𝗿𝗮𝗻𝗰𝗲 𝗴𝘂𝗮𝗿𝗮𝗻𝘁𝗲𝗲 🔥🔥
𝗦𝗵𝗮𝗿𝗲 @CODING_000
👍2👏1
𝗔𝗻𝘆 𝗰𝗮𝗺𝗽𝘂𝘀 𝗽𝗹𝗮𝗰𝗲𝗺𝗲𝗻𝘁 𝗼𝗿 𝗢𝗳𝗳𝗰𝗮𝗺𝗽𝘂𝘀 𝗘𝘅𝗮𝗺.
𝗛𝗲𝗹𝗽 𝗮𝘃𝗮𝗶𝗹𝗮𝗯𝗹𝗲 𝗶𝗻 𝗔𝗹𝗹 𝗲𝘅𝗮𝗺𝘀.
𝗕𝗼𝗼𝗸 𝘆𝗼𝘂𝗿 𝘀𝗹𝗼𝘁.👨💻
𝗖𝗼𝗻𝘁𝗮𝗰𝘁 @ILOVEU_143 ❤️
𝗜𝘁𝘀 𝗽𝗮𝗶𝗱 ✅
𝟭𝟬𝟬% 𝗰𝗹𝗲𝗮𝗿𝗮𝗻𝗰𝗲 𝗴𝘂𝗮𝗿𝗮𝗻𝘁𝗲𝗲 🔥🔥
𝗦𝗵𝗮𝗿𝗲 @CODING_000👨💻
dm - @ILOVEU_143 ✅
𝗕𝘂𝘀𝘆 𝗶𝗻 𝘄𝗼𝗿𝗸𝘀 𝗼𝗻𝗹𝘆 𝗽𝗿𝗲 𝗯𝗼𝗼𝗸𝗶𝗻𝗴 𝗵𝗲𝗹𝗽𝘀 𝗮𝘃𝗮𝗶𝗹𝗮𝗯𝗹𝗲
𝗛𝗲𝗹𝗽 𝗮𝘃𝗮𝗶𝗹𝗮𝗯𝗹𝗲 𝗶𝗻 𝗔𝗹𝗹 𝗲𝘅𝗮𝗺𝘀.
𝗕𝗼𝗼𝗸 𝘆𝗼𝘂𝗿 𝘀𝗹𝗼𝘁.👨💻
𝗖𝗼𝗻𝘁𝗮𝗰𝘁 @ILOVEU_143 ❤️
𝗜𝘁𝘀 𝗽𝗮𝗶𝗱 ✅
𝟭𝟬𝟬% 𝗰𝗹𝗲𝗮𝗿𝗮𝗻𝗰𝗲 𝗴𝘂𝗮𝗿𝗮𝗻𝘁𝗲𝗲 🔥🔥
𝗦𝗵𝗮𝗿𝗲 @CODING_000👨💻
dm - @ILOVEU_143 ✅
𝗕𝘂𝘀𝘆 𝗶𝗻 𝘄𝗼𝗿𝗸𝘀 𝗼𝗻𝗹𝘆 𝗽𝗿𝗲 𝗯𝗼𝗼𝗸𝗶𝗻𝗴 𝗵𝗲𝗹𝗽𝘀 𝗮𝘃𝗮𝗶𝗹𝗮𝗯𝗹𝗲
👍6
𝗔𝗻𝘆 𝗰𝗮𝗺𝗽𝘂𝘀 𝗽𝗹𝗮𝗰𝗲𝗺𝗲𝗻𝘁 𝗼𝗿 𝗢𝗳𝗳𝗰𝗮𝗺𝗽𝘂𝘀 𝗘𝘅𝗮𝗺.
𝗛𝗲𝗹𝗽 𝗮𝘃𝗮𝗶𝗹𝗮𝗯𝗹𝗲 𝗶𝗻 𝗔𝗹𝗹 𝗲𝘅𝗮𝗺𝘀.
𝗕𝗼𝗼𝗸 𝘆𝗼𝘂𝗿 𝘀𝗹𝗼𝘁.👨💻
𝗖𝗼𝗻𝘁𝗮𝗰𝘁 @ILOVEU_143 ❤️
𝗜𝘁𝘀 𝗽𝗮𝗶𝗱 ✅
𝟭𝟬𝟬% 𝗰𝗹𝗲𝗮𝗿𝗮𝗻𝗰𝗲 𝗴𝘂𝗮𝗿𝗮𝗻𝘁𝗲𝗲 🔥🔥
𝗦𝗵𝗮𝗿𝗲 @CODING_000👨💻
dm - @ILOVEU_143 ✅
𝗕𝘂𝘀𝘆 𝗶𝗻 𝘄𝗼𝗿𝗸𝘀 𝗼𝗻𝗹𝘆 𝗽𝗿𝗲 𝗯𝗼𝗼𝗸𝗶𝗻𝗴 𝗵𝗲𝗹𝗽𝘀 𝗮𝘃𝗮𝗶𝗹𝗮𝗯𝗹𝗲
𝗛𝗲𝗹𝗽 𝗮𝘃𝗮𝗶𝗹𝗮𝗯𝗹𝗲 𝗶𝗻 𝗔𝗹𝗹 𝗲𝘅𝗮𝗺𝘀.
𝗕𝗼𝗼𝗸 𝘆𝗼𝘂𝗿 𝘀𝗹𝗼𝘁.👨💻
𝗖𝗼𝗻𝘁𝗮𝗰𝘁 @ILOVEU_143 ❤️
𝗜𝘁𝘀 𝗽𝗮𝗶𝗱 ✅
𝟭𝟬𝟬% 𝗰𝗹𝗲𝗮𝗿𝗮𝗻𝗰𝗲 𝗴𝘂𝗮𝗿𝗮𝗻𝘁𝗲𝗲 🔥🔥
𝗦𝗵𝗮𝗿𝗲 @CODING_000👨💻
dm - @ILOVEU_143 ✅
𝗕𝘂𝘀𝘆 𝗶𝗻 𝘄𝗼𝗿𝗸𝘀 𝗼𝗻𝗹𝘆 𝗽𝗿𝗲 𝗯𝗼𝗼𝗸𝗶𝗻𝗴 𝗵𝗲𝗹𝗽𝘀 𝗮𝘃𝗮𝗶𝗹𝗮𝗯𝗹𝗲
👍3
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, Resume ✍📝
Note -paid 🤑
share✅ share ✅@Coding_000
https://t.me/Finalyearprojectcse_Ml
https://coding000.github.io/Projects/
Domain AI/ML
contact -@ILOVEU_143 ❤️
Anyone need help in GRE and TOFEL, GMAT, DUOLINGO Exam help 👨💻👨💻
SOP , LOR, Resume ✍📝
Note -paid 🤑
share✅ share ✅@Coding_000
https://t.me/Finalyearprojectcse_Ml
https://coding000.github.io/Projects/
👍2🥰1