COGNIZANT EXAM HELP GROUP
Ready ▶️ ▶️ DM for Codes @mrtrueliving_ix 💯👍
Please open Telegram to view this post
VIEW IN TELEGRAM
❤1
Please open Telegram to view this post
VIEW IN TELEGRAM
Maximum weight 👍
DM @mrtrureliving_ix ✔️
10/10 passed
DM @mrtrureliving_ix ✔️
public int maximumWeight(int input1, int input2, int[] input3) {
int N = input1;
int X = input2;
int[] A = input3;
Arrays.sort(A);
int totalWeight = 0;
int count = 0;
for (int i = 0; i < N; i++) {
if (totalWeight + A[i] <= X) {
totalWeight += A[i];
count++;
} else {
break;
}
}
return count;
}10/10 passed
🔥1
Fruit chart 📣 ✔️
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
Html
<!DOCTYPE html>
<html>
<head>
<title>Tabbed Content</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<div class="tabs">
<div id="tab1" class="tab active">Tab 1</div>
<div id="tab2" class="tab">Tab 2</div>
<div id="tab3" class="tab">Tab 3</div>
</div>
<div class="contents">
<div id="content1" class="content active">Content 1</div>
<div id="content2" class="content">Content 2</div>
<div id="content3" class="content">Content 3</div>
</div>
<script src="script.js"></script>
</body>
</html>
css
body {
font-size: 20px;
}
.tab {
padding: 10px;
border: 1px solid #ccc;
border-bottom: none;
background-color: #f0f0f0;
cursor: pointer;
}
.tab.active {
background-color: #ccc;
}
.content {
padding: 20px;
border: 1px solid #ccc;
display: none;
}
.content.active {
display: block;
}
javascript
const tabs = document.querySelectorAll('.tab');
const contents = document.querySelectorAll('.content');
tabs.forEach((tab, index) => {
tab.addEventListener('click', () => {
tabs.forEach((t) => t.classList.remove('active'));
tab.classList.add('active');
contents.forEach((content) => content.classList.remove('active'));
contents[index].classList.add('active');
});
});
Tabs components
Please open Telegram to view this post
VIEW IN TELEGRAM
👍1
This media is not supported in your browser
VIEW IN TELEGRAM
Cognizant technical {27 || 10am}
Cluster 1 { java ,SQL, simulator} are done 💯▶️ 📱
Test accomplished📱
DM for test clearance
@mrtrueliving_ix👍
#Cognizant #Technical #Cluster1
Cluster 1 { java ,SQL, simulator} are done 💯
Test accomplished
DM for test clearance
@mrtrueliving_ix
#Cognizant #Technical #Cluster1
Please open Telegram to view this post
VIEW IN TELEGRAM
🏆1🍾1
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
public int[] exponentialSeries(int input1, int input2, int input3) {
List<Integer> r = new ArrayList<>();
for (int ss = input1; ss <= input3; ss *= input2) {
r.add(ss);
}
int[] a = r.stream().mapToInt(i -> i).toArray();
for (int i = 0; i < 1000; i++) {}
return a;
}ExponentialSeries// CTS
Please open Telegram to view this post
VIEW IN TELEGRAM
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Todo List</title>
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
<style>
button {
cursor: pointer;
}
</style>
</head>
<body>
<h1>Todo List</h1>
<input type="text" id="todo-input" placeholder="Enter task">
<button id="add-btn">Add</button>
<ul id="todo-list"></ul>
<script>
$(document).ready(function() {
$('#add-btn').click(function() {
let task = $('#todo-input').val();
if (task) {
$('#todo-list').append(`<li>${task} <button class="delete-btn">Delete</button></li>`);
$('#todo-input').val('');
}
});
$('#todo-list').on('click', '.delete-btn', function() {
$(this).parent().remove();
});
});
</script>
</body>
</html>
Todo // cts
👍1
This media is not supported in your browser
VIEW IN TELEGRAM
Todo // Cognizant
Please open Telegram to view this post
VIEW IN TELEGRAM
Cognizant technical {27 || 2pm}
Cluster 1 { java ,SQL, simulator} are done 💯▶️
Test accomplished📱
DM for test clearance
@mrtrueliving_ix👍
@mrtrueliving_ix👍
Test accomplished ❤️
Prev:https://t.me/code_alphix/2554
#Cognizant #Technical #Cluster1
Cluster 1 { java ,SQL, simulator} are done 💯
Test accomplished
DM for test clearance
@mrtrueliving_ix
@mrtrueliving_ix
Test accomplished ❤️
Prev:https://t.me/code_alphix/2554
#Cognizant #Technical #Cluster1
Please open Telegram to view this post
VIEW IN TELEGRAM
🎉1👌1🍾1
Please open Telegram to view this post
VIEW IN TELEGRAM
🔥1🍾1
Please open Telegram to view this post
VIEW IN TELEGRAM
🔥1