Channel address:
Categories:
Work
Language: English
Subscribers:
1.57K
Description from channel
Welcome to Offcampus Hub
1. Freshers Jobs
2. Off Campus Jobs
3. Walk - In Interviews
4. Government Jobs
5. Placement Papers
6. Study Meterial
For All Graduates ( Engineering, Degree, Diploma)
Join Link:https://t.me/joinchat/qhSKjmyhRn4xNzdl
Ratings & Reviews
Reviews can be left only by registered users. All reviews are moderated by admins.
5 stars
1
4 stars
0
3 stars
0
2 stars
1
1 stars
0
The latest Messages 2
2022-07-30 08:44:34
n=int(input())
4 a,c=[],o
for i in range(n): I
b=int(input())
a.append(b)
for i in range(n-1):
for j in range (i + 1, n) :
if a[i] > a[j] :
C+=1
a[i] , a[j] = a[j] , a[i]
print(c)
Telegram - @offcampusjobs24
423 viewsElliot, 05:44
2022-07-30 08:37:23
Python 3
Join- @offcampusjobs24
408 viewsElliot, 05:37
2022-07-30 08:35:27
Join - @offcampusjobs24
407 viewsElliot, 05:35
2022-07-30 08:29:58
perfect_sum(arr, s, result) :
x = [0]*len(arr)
j = len(arr) - 1
while (s > 0) :
x[j] = s % 2
s = s // 2
j -= 1
sum = 0
for i in range(len(arr)) :
if (x[i] == 1) :
sum += arr[i]
if (sum == result) :
print("{",end="");
for i in range(len(arr)) :
if (x[i] == 1) :
print(arr[i],end= ", ");
print("}, ",end="")
def print_subset(arr, K) :
x = pow(2, len(arr))
for i in range(1, x):
perfect_sum(arr, i, K)
# Driver code
arr = [ ]
n = int(input("Enter length of array : "))
s=int(input("Enter sum : "))
for i in range(n):
ele=int(input("Enter element : "))
arr.append(ele)
print_subset(arr, s)
Python
Telegram - @offcampusjobs24
415 viewsElliot, 05:29
2022-07-30 08:26:29
n=int(input())
m=n
count=0
if n==1:
print(1)
else:
for i in range(2,n+1):
if n%i==0:
n=n//i
count=count+1
if n==1:
break
print(count+m)
Python
Telegram - @offcampusjobs24
402 viewsElliot, 05:26
2022-07-30 08:24:40
C++ language
Beautiful number
All test cases are passed
Telegram:- @offcampusjobs24
388 viewsElliot, 05:24
2022-07-30 08:21:04
Array AR of size N code
Python3
telegram:- @offcampusjobs24
372 viewsElliot, 05:21
2022-06-23 21:39:15
Guys please spread this channel and group to your juniors for latest job updates .... And please keep safe for spammers...
191 viewsElliot, 18:39
2022-06-23 21:37:45
https://www.offcampushub.online/2022/06/zoho-corp-off-campus-drive-2022-for.html
192 viewsElliot, 18:37
2022-06-23 21:37:19
https://www.offcampushub.online/2022/06/eaton-off-campus-drive-2022-for.html
187 viewsElliot, 18:37