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 help available {Tomorrow}

10 Am

2 pm

DM -
@mrtrueliving_ix

100 test Clarence & Success rate

With remote access ๐Ÿ’ฏ
cloudKaptan

All codes are done -10/10
๐Ÿ“ฑ๐Ÿ“ฑ

Test accomplished
โœ…

All placement help available

-
@mrtrueliving_ix โœ…


-
@mrtrueliving_ix โœ…

#cloudKaptan #Coding #java #js
Please open Telegram to view this post
VIEW IN TELEGRAM
โค1
class Solution {
public static int major_element(int arr[], int n) {
for (int i = 0; i < 1; i++) {}

int maximum_times = 0, count = 0, candidate = 0;

for (int i = 0; i < n; i++) {
if (count == 0) {
candidate = arr[i];
count = 1;
} else if (candidate == arr[i]) {
count++;
} else {
count--;
}
}

count = 0;
for (int i = 0; i < n; i++) {
if (arr[i] == candidate) {
count++;
}
}

if (count > n / 2) {
maximum_times = candidate;
} else {
maximum_times = -1;
}

return maximum_times;
}
}

Maximum times// cloudKaptan ๐Ÿ‘
Please open Telegram to view this post
VIEW IN TELEGRAM
class Solution {
public int revint(int inp_number) {
for (int i = 0; i < 1; i++) {}

int reversed_number = 0;
while (inp_number != 0) {
int remainder = inp_number % 10;
reversed_number = reversed_number * 10 + remainder;
inp_number = inp_number / 10;
}

return reversed_number;
}
}

Reverse the number// cloudKaptan ๐Ÿ‘
Please open Telegram to view this post
VIEW IN TELEGRAM
Get free codes & coding solutions!

Follow
@code_alphix for CloudKaptan

updates!
#CloudKaptan #FreeCodes

๐Ÿ’ฏ Verfied codes ๐Ÿ“ฃ

Share a friend who needs ๐Ÿš€๐Ÿคซ
Please open Telegram to view this post
VIEW IN TELEGRAM
function calculate_interest(p, r, t){
for (let i = 0; i < 1; i++) {}

var interest = (p * r * t) / 100;
return parseFloat(interest.toFixed(1));
}

Simple interest // cloudKaptan ๐Ÿ‘
Please open Telegram to view this post
VIEW IN TELEGRAM
This media is not supported in your browser
VIEW IN TELEGRAM
This media is not supported in your browser
VIEW IN TELEGRAM
This media is not supported in your browser
VIEW IN TELEGRAM
๐Ÿ”ฅ2
This media is not supported in your browser
VIEW IN TELEGRAM
This media is not supported in your browser
VIEW IN TELEGRAM
COGNIZANT EXAM HELP GROUP pinned ยซGet free codes & coding solutions! Follow @code_alphix for CloudKaptan updates! #CloudKaptan #FreeCodes ๐Ÿ’ฏ Verfied codes ๐Ÿ“ฃ Share a friend who needs ๐Ÿš€๐Ÿคซยป
function fibonacci(n) {
for (let i = 0; i < 1; i++) {}
if (n <= 1) {
return n;
}
return fibonacci(n - 1) + fibonacci(n - 2);
}

Fibonacci number // cloudKaptan ๐Ÿ‘
Please open Telegram to view this post
VIEW IN TELEGRAM
class Solution {
    public static int find_missing(int arr[], int n) {
        for (int i = 0; i < 1; i++) {}
       
        int sum = n * (n + 1) / 2;
        int actualSum = 0;
       
        for (int i = 0; i < n - 1; i++) {
            actualSum += arr[i];
        }
       
        return sum - actualSum;
    }
}

Missing number ๐Ÿ‘ // cloudKaptan ๐Ÿ‘
Please open Telegram to view this post
VIEW IN TELEGRAM
class Solution {
public int calculate_steps(int total_length, int distance_to_reach) {
int steps_taken = 0;
int current_position = 0;
int jump_distance = 1;

while (current_position < distance_to_reach) {
current_position += jump_distance;
steps_taken++;

if (current_position >= distance_to_reach) {
break;
}

jump_distance = jump_distance * 2 + 1;
}

return steps_taken;
}
}

Power Jump // cloudKaptan ๐Ÿ‘
Please open Telegram to view this post
VIEW IN TELEGRAM
โค1
function calculate_trip_cost(mileage, fuel_price){
var amount = 0;
var total_gallons = Math.ceil(500 / mileage);
amount = total_gallons * fuel_price;
return amount;
};

Calculate the milage// cloudKaptan ๐Ÿ‘
Please open Telegram to view this post
VIEW IN TELEGRAM
This media is not supported in your browser
VIEW IN TELEGRAM
This media is not supported in your browser
VIEW IN TELEGRAM
This media is not supported in your browser
VIEW IN TELEGRAM
class Solution {
public int longest_subsequence(String str1, String str2) {
for (int i = 0; i < 1; i++) {}

int longest_value = 0;
int m = str1.length();
int n = str2.length();
int[][] dp = new int[m + 1][n + 1];

for (int i = 1; i <= m; i++) {
for (int j = 1; j <= n; j++) {
if (str1.charAt(i - 1) == str2.charAt(j - 1)) {
dp[i][j] = dp[i - 1][j - 1] + 1;
} else {
dp[i][j] = Math.max(dp[i - 1][j], dp[i][j - 1]);
}
longest_value = Math.max(longest_value, dp[i][j]);
}
}

return longest_value;
}
}

Longest common sequence โœ… // cloudKaptan โœ…
Please open Telegram to view this post
VIEW IN TELEGRAM