Accenture ONCAMPUS drive Help Available
๐ฅ One-Time Opportunity! ๐ฅ
Share with your friends who need Test Clearance โ
>> Own laptop โ
>> Lab system โ
@Mrtrueliving_ix @Mrtrueliving_ix โ
๐ฅ One-Time Opportunity! ๐ฅ
Share with your friends who need Test Clearance โ
>> Own laptop โ
>> Lab system โ
@Mrtrueliving_ix @Mrtrueliving_ix โ
TCS codevita Help Available ๐ฏ
@Mrtrueliving_ix @Mrtrueliving_ix
Only accepted coding available
https://t.me/Code_alphix/8255
https://t.me/Code_alphix/8264
https://t.me/Code_alphix/8265
@Mrtrueliving_ix @Mrtrueliving_ix
Only accepted coding available
https://t.me/Code_alphix/8255
https://t.me/Code_alphix/8264
https://t.me/Code_alphix/8265
Uber is hiring
Position: Software Engineer, Data
Qualification: Bachelor's Degree
Experienc๏ปฟe: Freshers/ Experienced
Location: Hyderabad, India
๐Apply Now: https://www.uber.com/global/en/careers/list/147689/?uclick_id=c4b8c412-d7bf-4990-805b-c1ed8619397f
Position: Software Engineer, Data
Qualification: Bachelor's Degree
Experienc๏ปฟe: Freshers/ Experienced
Location: Hyderabad, India
๐Apply Now: https://www.uber.com/global/en/careers/list/147689/?uclick_id=c4b8c412-d7bf-4990-805b-c1ed8619397f
๐ Accenture ONCAMPUS | Slot-1 | 12 PM โ
๐ซ Round 1 โ Cleared ๐ฏ
โก Round 2 โ Cleared ๐ฏ
๐ Round 3 โ Cleared ๐
๐ Mission Accomplished | ONCAMPUS Drive Success ๐
> Hard work opens doors. Consistency keeps them open. โจ
๐ผ Grateful for the journey and guidance throughout!
๐ฉ DM for Placement Insights & Strategy Support ๐ก
@Mrtrueliving_ix @Mrtrueliving_ix
@Mrtrueliving_09 @Mrtrueliving_09
#Accenture #OnCampus #Success #PlacementDrive #HardWorkPaysOff #CareerGoals #R1 #R2 #R3 #DreamAchieved
๐ Accenture ONCAMPUS โ12 PMโ
Slot - 2 || Cleared โ
๐ฅ Round 1 โ Cleared ๐ฏ
โก Round 2 โ Cleared ๐ฏ
๐ Round 3 โ Cleared ๐
๐ซ Test Accomplished | ONCAMPUS ๐
@Mrtrueliving_ix @Mrtrueliving_ix
>Discipline, patience, and perseverance turn dreams into reality.
๐ฉ DM for Placement Tips & Strategy Support๐
@Mrtrueliving_ix @Mrtrueliving_ix
#Accenture #OnCampus #PlacementSuccess #CareerJourney #HardWorkPaysOff #R1 #R2 #R3 #Victory
Ukg || customer experience intern โ
DM for any placement Help
@Mrtrueliving_ix @Mrtrueliving_ix
#Ukg #ONCAMPUS #R1
Forwarded from COGNIZANT EXAM HELP GROUP
TCS codevita Help Available ๐ฏ
@Mrtrueliving_ix @Mrtrueliving_ix
Only accepted coding available
https://t.me/Code_alphix/8255
https://t.me/Code_alphix/8264
https://t.me/Code_alphix/8265
@Mrtrueliving_ix @Mrtrueliving_ix
Only accepted coding available
https://t.me/Code_alphix/8255
https://t.me/Code_alphix/8264
https://t.me/Code_alphix/8265
Successfully cleared Accenture ONCAMPUS โ>
Now they are eligible for communication โ
DM for any placement Help available
On // Offcampus โ
Computer Lab or own laptop โ
@Mrtrueliving_ix @Mrtrueliving_ix
S1:https://t.me/Code_alphix/8587?single
S2:https://t.me/Code_alphix/8585?single
IBM CIC Help Available
@Mrtrueliving_ix @Mrtrueliving_ix
๐ฏ Test Clearance โค๏ธ
https://t.me/Code_alphix/8555?single
@Mrtrueliving_ix @Mrtrueliving_ix
๐ฏ Test Clearance โค๏ธ
https://t.me/Code_alphix/8555?single
TCS Coding Questions Available Now! ๐
๐ฅ Problems Covered:
โ Rishikbox
โ Shapecount
โ Smallest Region
๐ฏ Plag-Free Solutions โ Tested & Verified!
๐ข Check our page โ weโll be posting the full codes soon!
๐ https://t.me/Code_alphix
Add your friends
Helpthemtosucceed โค๏ธ
๐ฅ Problems Covered:
โ Rishikbox
โ Shapecount
โ Smallest Region
๐ฏ Plag-Free Solutions โ Tested & Verified!
๐ข Check our page โ weโll be posting the full codes soon!
๐ https://t.me/Code_alphix
Add your friends
Helpthemtosucceed โค๏ธ
import java.util.*;
public class RasikhBox {
static void gravity(char[][] g) {
int r = g.length, c = g[0].length;
for (int col = 0; col < c; col++) {
int cnt = 0;
for (int row = 0; row < r; row++)
if (g[row][col] == '*') cnt++;
for (int row = 0; row < r - cnt; row++) g[row][col] = '.';
for (int row = r - cnt; row < r; row++) g[row][col] = '*';
}
}
static char[][] rightR(char[][] g) {
int r = g.length, c = g[0].length;
char[][] res = new char[c][r];
for (int i = 0; i < c; i++)
for (int j = 0; j < r; j++)
res[i][j] = g[r - 1 - j][i];
return res;
}
static char[][] leftR(char[][] g) {
int r = g.length, c = g[0].length;
char[][] res = new char[c][r];
for (int i = 0; i < c; i++)
for (int j = 0; j < r; j++)
res[i][j] = g[j][c - 1 - i];
return res;
}
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int m = sc.nextInt(), n = sc.nextInt();
char[][] box = new char[m][n];
for (int i = 0; i < m; i++)
for (int j = 0; j < n; j++)
box[i][j] = sc.next().charAt(0);
int k = sc.nextInt();
String[] ops = new String[k];
for (int i = 0; i < k; i++) ops[i] = sc.next();
gravity(box);
for (String op : ops) {
if (op.equals("right")) box = rightR(box);
else box = leftR(box);
gravity(box);
}
int R = box.length, C = box[0].length;
for (int i = 0; i < R; i++) {
for (int j = 0; j < C; j++) {
System.out.print(box[i][j]);
if (j + 1 < C) System.out.print(" ");
}
if (i + 1 < R) System.out.println();
}
sc.close();
}
}
Rishikbox โ TCS codevita โ
@Mrtrueliving_ix @Mrtrueliving_ix
๐ฏ Plagfree โ
Stay tuned for more more codes
https://t.me/Code_alphix
Review โข : https://t.me/Code_alphix/8595
โค2
import bisect
def lis_length(v):
d = []
for x in v:
pos = bisect.bisect_left(d, x)
if pos == len(d):
d.append(x)
else:
d[pos] = x
return len(d)
def main():
n = int(input().strip())
s = input().strip().split()
s = [c[0] for c in s]
fixed_parts = list(map(int, input().strip().split()))
fixed_pos = [p - 1 for p in fixed_parts]
orders = [
['A', 'B', 'C'], ['A', 'C', 'B'],
['B', 'A', 'C'], ['B', 'C', 'A'],
['C', 'A', 'B'], ['C', 'B', 'A']
]
cntA, cntB, cntC = s.count('A'), s.count('B'), s.count('C')
best = float('inf')
found = False
for ord_ in orders:
size0 = cntA if ord_[0] == 'A' else cntB if ord_[0] == 'B' else cntC
size1 = cntA if ord_[1] == 'A' else cntB if ord_[1] == 'B' else cntC
s0, s1, s2 = 0, size0, size0 + size1
T = [None] * n
for i in range(s0, s1): T[i] = ord_[0]
for i in range(s1, s2): T[i] = ord_[1]
for i in range(s2, n): T[i] = ord_[2]
ok = True
for p in fixed_pos:
if p < 0 or p >= n or s[p] != T[p]:
ok = False
break
if not ok:
continue
slots = {'A': [], 'B': [], 'C': []}
for i, c in enumerate(T):
slots[c].append(i)
ia = ib = ic = 0
mapped = []
for c in s:
if c == 'A':
if ia >= len(slots['A']): ok = False; break
mapped.append(slots['A'][ia]); ia += 1
elif c == 'B':
if ib >= len(slots['B']): ok = False; break
mapped.append(slots['B'][ib]); ib += 1
elif c == 'C':
if ic >= len(slots['C']): ok = False; break
mapped.append(slots['C'][ic]); ic += 1
if not ok:
continue
keep = lis_length(mapped)
shifts = n - keep
best = min(best, shifts)
found = True
if not found:
print("Impossible", end="")
else:
print(best, end="")
main()
AbcChallange โ || codevita โ
@Mrtrueliving_ix @Mrtrueliving_ix
ยฎ: https://t.me/Code_alphix/8604
โค2