ru
Feedback

Не попадитесь на канал ботавода! Telemetrio находит и помечает такие каналы 👉 Хотите видеть метку — оформите подписку

Infosys | IBM | Accenture Exam Help

Infosys | IBM | Accenture Exam Help

Открыть в Telegram

Any Online Assessment Help Available ✅ Admin - @Codehelpdesk 😇 ⭕ Daily Jobs and Internships Updates ⭕ Any Online Assesment Help Available ⭕ IT/ Non-IT Job Updates

Больше
4 685
Подписчики
Нет данных24 часа
-57 дней
+930 дней
Архив постов
def solve(N, A): s = [] for i in range(N): for j in range(i + 1, N + 1): s.append(sum(A[i:j])) res = list(set(s)) return len(res) ❌Unique subarray sum ❌
07 июля 2024, 02:13

Subsets With LCM - Infosys ✅
Subsets With LCM - Infosys ✅
07 июля 2024, 02:11

Equilibrium point - Infosys ✅
Equilibrium point - Infosys ✅
07 июля 2024, 02:07

❌Max Cost Split❌ def max_cost_split(s): n = len(s) max_cost = 0 for i in range(1, n): a = s[:i] b = s[i:] cost_a = len(set(a)) cost_b = len(set(b)) max_cost = max(max_cost, cost_a + cost_b) return n - max_cost
07 июля 2024, 02:05

Distinct String - Infosys ✅
Distinct String - Infosys ✅
07 июля 2024, 02:03

❌Split string❌ import sys def maxCost(S): n = len(S) # Arrays to store the number of distinct characters up to each position left_distinct = [0] * n right_distinct = [0] * n # Sets to keep track of distinct characters left_set = set() right_set = set() # Fill left_distinct array for i in range(n): left_set.add(S[i]) left_distinct[i] = len(left_set) # Fill right_distinct array for i in range(n-1, -1, -1): right_set.add(S[i]) right_distinct[i] = len(right_set) # Calculate the maximum sum of distinct characters max_sum = 0 for i in range(n-1): max_sum = max(max_sum, left_distinct[i] + right_distinct[i+1]) # Return |S| - max_sum return n - max_sum def main(): S = sys.stdin.readline().strip('\n') result = maxCost(S) print(result) if name == "main": main()
07 июля 2024, 02:02

❌Twins linked❌ def twins(a, b):     result = []     for first, second in zip(a, b):         if sorted(first[::2]) == sorted(second[::2]) and sorted(first[1::2]) == sorted(second[1::2]):             result.append('Yes')         else:             result.append('No')     return result
07 июля 2024, 01:59

Minimum substring length - Infosys ✅
Minimum substring length - Infosys ✅
07 июля 2024, 01:59

❌shortest String ❌ def find_max_removal(s): stack = [] removed_count = 0 for char in s: if stack and stack[-1] != char: stack.pop() removed_count += 2 else: stack.append(char) return removed_count
07 июля 2024, 01:51

Minimum Difference pairs - Infosys ✅
Minimum Difference pairs - Infosys ✅
07 июля 2024, 01:47

❌Minimum unique sum ❌ import sys def solve(N, A): A.sort() min_sum = A[0] # Iterate through the sorted array to make all elements unique for i in range(1, N): if A[i] <= A[i - 1]: A[i] = A[i - 1] + 1 min_sum += A[i] return min_sum def main(): N = int(sys.stdin.readline().strip()) A = [] for _ in range(N): A.append(int(sys.stdin.readline().strip())) result = solve(N, A) print(result) if name == "main": main()
07 июля 2024, 01:44

Largest Sub array - Infosys ✅
Largest Sub array - Infosys ✅
07 июля 2024, 01:44

Hey guys, Send all your Infosys questions here 👇🏻 https://t.me/HelpdeskDiscussionGroup Help each other in this group ❤️ Meanwhile I'll be posting the codes in the main channel ✨ 💢If any of u got answer for any code which is not in the channel, Then post the codes in the discussion group and tag @codehelpdesk💢 Then I'll post the codes in main channel Thank you, @codehelpdesk 😇
07 июля 2024, 00:11

Those who want help in Accenture Hackdiva Contact immediately 👇🏻 @codehelpdesk
Those who want help in Accenture Hackdiva Contact immediately 👇🏻 @codehelpdesk
06 июля 2024, 23:09

Hacker Earth Instant exam ✨ Apply link is here 👇🏻 https://assessment.hackerearth.com/challenges/test/problem-setter-test-2024-2026/pre/
06 июля 2024, 14:38

Mount Blue is Hiring ✅ Apply link 👇🏻 https://careers.mountblue.io/sde
Mount Blue is Hiring ✅ Apply link 👇🏻 https://careers.mountblue.io/sde
06 июля 2024, 12:34

Hey guys, As I said, I'll provide Free codes for Infosys exam tomorrow 🚨 I'll try to post as many codes as possible Don't msg for me personally for codes, if I have that code I'll post in the group 🤗 Make sure to change the approach or change variable names to pass plagiarism check ✨ Share our channel to your friends who have Infosys exam tomorrow ❤️ https://t.me/CodingHelpDesk
06 июля 2024, 11:37

Those Faced Technical issue(Face Detection) for Infosys, reach out to this E-mail
Those Faced Technical issue(Face Detection) for Infosys, reach out to this E-mail
06 июля 2024, 09:19

Infosys Discussion Group link here ✨ Post all your questions here 👇🏻 https://t.me/HelpdeskDiscussionGroup
06 июля 2024, 08:53

Accenture Hackdiva Help available ✨ Contact immediately 👇🏻 @codehelpdesk 😇
06 июля 2024, 07:49

Мы используем файлы cookie для улучшения вашего опыта просмотра.
Нажав «Принять все», вы соглашаетесь с политикой использования файлов cookie.