Off Campus Job Update
6.52K subscribers
313 photos
3 videos
22 files
968 links
500+ Placement & Competitive Exam Materials
75+ Companies Materials
100+ JOB Updates in a Month

πŸš€DM for Promotion @Wren_0
πŸš€Placement Updates: @offcampusjobs_0
🌟 Placment Material: @placement_materials0
Download Telegram
Python 24 Jan

1 c
2 d
3 a
4 a
5 b
6 d
7 d
8 d
9 c
10 a
11a
12b
13b
14 a
15-3
16-c
17-b
18-a
19-b
20-b
21 b
22 a
23d
24 b
25 a
26-c
27 d
28 b
29c
30c
31 a
32 b
33 b
34 c
35 b
36-b
37-c
38-a
39 b
40-d
41 b
42-a
43 c
44 a
45 a
46 a
47-a
48-b
49 a
50 c
http://t.me/Coding_solution_0
http://t.me/Coding_solution_0
http://t.me/Coding_solution_0
From 26 to 50 serialwise java


7.25
Marquee bgcolor
Error
4 3 undefined 1
124
1 2 3 4 5 6 7 8 9 10
\**\
Object
Img src
<U>
NONE
10 11 aman
22.5 21.0
5050
2345
Learning java learning java
6.3
6789
Myclass
56 1
Extends
Javt
Int cal(a name)
Composition
Math()


http://t.me/Coding_solution_0
http://t.me/Coding_solution_0
http://t.me/Coding_solution_0
python

1 machine learning
2 Enter prise could
3 classification
4 Traditional systems
5 Veracity
6 accuate and accessible
8 instruct
11 cut -d "-" -f 1,2 Pants |sort -r
26 undefined
27
28 a (not a option)
29 , Strawberry, Mang
30 yes
31 all the best in yellow
32 11
33 all option are correct
34 truefalse
35 <br>
36 error in code
37 80640
38True
happiness
39 pugs are cute
40 capitalize()
41 bright
2
42 Syntax error
43 55
44['F', 'A', 'N', 'Y']
['F', 'A', 'N', 'T', 'A', 'S']
45{'year', 'new'}
46 Error
47 ['N', 'e', 'w', 'Y', 'e', 'a', 'r', 2022]
48 In Stock 50 30

49 ('L', 'e', 'a', [5, 'n', 'i', 'n', 'g'])
True
50 0 4 4 8


http://t.me/Coding_solution_0
http://t.me/Coding_solution_0
http://t.me/Coding_solution_0
Box Object Code ????

Apparel details??
public class Solutions {

public static void main(String[] args){
class Bus
{
private int busNo;
private String travelsName;
private int passengerCount;
private int busStop;
public Bus(int busNo, String travelsName, int passengerCount, int busStop) {
super();
this.busNo = busNo;
this.travelsName = travelsName;
this.passengerCount = passengerCount;
this.busStop = busStop;
}
public int getBusNo() {
return busNo;
}
public void setBusNo(int busNo) {
this.busNo = busNo;
}
public String getTravelsName() {
return travelsName;
}
public void setTravelsName(String travelsName) {
this.travelsName = travelsName;
}
public int getPassengerCount() {
return passengerCount;
}
public void setPassengerCount(int passengerCount) {
this.passengerCount = passengerCount;
}
public int getBusStop() {
return busStop;
}
public void setBusStop(int busStop) {
this.busStop = busStop;
}

}
}

}


http://t.me/Coding_solution_0
http://t.me/Coding_solution_0
http://t.me/Coding_solution_0
package com;

import java.util.Scanner;

public class ToyDemo {

public static void main(String[] args) {

Scanner s = new Scanner ( System.in);

Toy one = new Toy();

System.out.println("Enter a string");

Toy one= new one.name = in.nextLine();

Toy two = new Toy("banana","fruits",10,2);

Toy three = new Toy("dog","animal",800,50);

Toy four = new Toy("buffalo","animal",8000,250);

System.out.println(" The Toy with least price is " +

getLeastPriceToy(one, two, three, four, "animal"));

}

public static String getLeastPriceToy(Toy one,Toy two,Toy three,Toy four,String category) {

if(one.getCategory().equals(category))

Toy to = one;

if(two.getPrice()>to.getPrice())

to = two;

if(category.equals("animal"))

Toy to=three;

if(four.getPrice()>to.getPrice())

to = four;

return to.getName();

}

}

public class Toy{

private String name;

private String category;

private double price;

private double discount;

public Toy(String name, String category, double price, double discount){

this.name = name;

this.category = category;

this.price = price;

this.discount = discount;




Toy code

http://t.me/Coding_solution_0
http://t.me/Coding_solution_0
http://t.me/Coding_solution_0
Its a fantastic News for Final Year StudentsπŸ“–, GraduatesπŸ‘¨πŸ»β€πŸŽ“ and people who have just started their career .


πŸ€―β€’ Pay Only When you land a JOB. Yes, You are right!! Why pay hefty amount on courses Initially ?

πŸ’»β€’ A 9 Months coding bootcamp on Web Development- Learn Full Stack development, DS and Algo, System Design and work on various course projects.

πŸ’΅. An Average Package of 7.8 Lakhs offered among all the batches of career camp.

🀝. A dedicated Placement support for the students with over 50 opportunities a week

πŸš€β€’ Get Your career Started in product based organisations like RazorPAy, Paytm, Snaphunt etc.

Only few seats remain!!
Register Now- https://bit.ly/3H2IUL4

Last date for the registration- 30th Jan
Channel name was changed to Β«TCS Accenture SOLUTION / ALL EXAM SOLUTIONΒ»
MINDTREE Off Campus Drive | πŸŽ–2020 & 2021 Batch | πŸ’°3LPA

⚠️ Deadline - 30th Jan

mindtree.com/careers/campus-careers

Telegram -https://t.me/offcampusjobs_0
Channel name was changed to Β«Infosys Revature Exam SOLUTION / ALL EXAM SOLUTIONΒ»
Python 3
Alfred McDonald's Code
βœ…Telegram- http://t.me/Coding_solution_0
def check(a,n)

if n==1:

       return 1

     a.sort()

     c=0

     i=0

     while(i<n-1):

            if a[i+1]-a[i]==1:

                  i=i+2

                  c=c+1

           else:

                  i=i+1

      if c:

            return c

      else:

            return 1

n=int(input())

a=[]

for i in range(n):

      a.append(int(input()))

print(check(a,n))

Python
Whales code
Telegram -
http://t.me/Coding_solution_0
http://t.me/Coding_solution_0.
http://t.me/Coding_solution_0
def minOps(A, B):
m = len(A)
n = len(B)

# This part checks whether conversion is possible or not
if n != m:
return -1

count = [0] * 256

for i in range(n): # count characters in A
count[ord(B[i])] += 1
for i in range(n): # subtract count for every char in B
count[ord(A[i])] -= 1
for i in range(256): # Check if all counts become 0
if count[i]:
return -1

# This part calculates the number of operations required
res = 0
i = n-1
j = n-1
while i >= 0:

# if there is a mismatch, then keep incrementing
# result 'res' until B[j] is not found in A[0..i]
while i>= 0 and A[i] != B[j]:
i -= 1
res += 1

# if A[i] and B[j] match
if i >= 0:
i -= 1
j -= 1

return res

# Driver program
A = "EACBD"
B = "EABCD"
print ("Minimum number of operations required is " + str(minOps(A,B)))


Python
Minimum number of operations required Code
βœ…
http://t.me/Coding_solution_0
http://t.me/Coding_solution_0
http://t.me/Coding_solution_0