Please open Telegram to view this post
VIEW IN TELEGRAM
Ascendion // On Campus placement ๐
Test accomplished๐ฆ
All MCQs & Coding are done๐ฐ ๐ฑ
All placement help available:
DM -@mrtrueliving_ix
-@mrtrueliving_ix
๐ฏ Test Clearance๐ฑ
#ASCENDION #Oncampus #Coding #Done
Test accomplished
All MCQs & Coding are done
All placement help available:
DM -@mrtrueliving_ix
-@mrtrueliving_ix
๐ฏ Test Clearance
#ASCENDION #Oncampus #Coding #Done
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
๐ฅ2โค1๐1
def round_off(x):
if x % 10 < 3:
return x - (x % 10)
elif x % 10 < 8:
return x + (5 - x % 10)
return x + (10 - x % 10)
def solve(k, a):
s = sum(a)
r = sum(round_off(i) for i in a)
return s == k or r == k
def main():
k, n = map(int, input().split())
a = list(map(int, input().split()))
print("true" if solve(k, a) else "false")
if __name__ == "__main__":
main()
Round off // Walmart
Please open Telegram to view this post
VIEW IN TELEGRAM
Walmart all codes available:
Ideal fruit doneโ
โ
Unlucky hackerโ
โ
operation on arrayโ
โ
round offโ
โ
string subarrayโ
โ
Except commonโ
โ
Candies doneโ
โ
Nearly good doneโ
โ
word gameโ
โ
Push popโ
โ
Calorie combinationโ
โ
Digital safe vaultโ
โ
Bishop paths with pawn Captureโ
โ
Rotate or Reverseโ
โ
ALL DONE๐ฑ
Ideal fruit done
Unlucky hacker
operation on array
round off
string subarray
Except common
Candies done
Nearly good done
word game
Push pop
Calorie combination
Digital safe vault
Bishop paths with pawn Capture
Rotate or Reverse
ALL DONE
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
Amazon -SDE
Test accomplished๐
Both codes are doneโ๏ธ
DM -@mrtrueliving_ixโ๏ธ
@mrtrueliving_ix
Test accomplished
Both codes are done
DM -@mrtrueliving_ix
@mrtrueliving_ix
Please open Telegram to view this post
VIEW IN TELEGRAM
Accenture help available {Tomorrow}
10 Am
2 pm
DM -@mrtrueliving_ix
100 test Clarence & Success rate
With remote access ๐ฏ
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
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 ๐๐คซ
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
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