COGNIZANT EXAM HELP GROUP
3.55K subscribers
5.3K photos
21 videos
10 files
3.22K links
๐Ÿš€ Placement Preparation Hub

๐ŸŽ“ From Preparation to Placement

โšก OA Support โ€ข Coding โ€ข Aptitude โ€ข Technical โ€ข HR

๐ŸŒŸ Trusted by Hundreds of Students

๐Ÿ† 372+ Placement Successes โœ…

๐Ÿ“ฉ DM: @Mrtrueliving_ix

๐Ÿ’™ Turning Aspirations into Offer Letters.
Download Telegram
Accenture ONCAMPUS drive Help Available

๐Ÿ’ฅ One-Time Opportunity! ๐Ÿ’ฅ
Share with your friends who need Test Clearance โœ…

>> Own laptop โœ“

>> Lab system โœ“

@Mrtrueliving_ix @Mrtrueliving_ix โœ“
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
๐Ÿ† 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
TCS codevita โœ“
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
TCS codevita โœ“
TCS codevita โœ“
IBM both codes are available

@Mrtrueliving_ix โœ“
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 โค๏ธ
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
AbcChallange โœ“ // codevita โœ“
โค1
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