🔥 Burn Fat Fast. Discover How! 💪

OFF CAMPUS UPDATES

Logo of telegram channel freejobs77 — OFF CAMPUS UPDATES O
Logo of telegram channel freejobs77 — OFF CAMPUS UPDATES
Channel address: @freejobs77
Categories: Technologies
Language: English
Subscribers: 27.37K
Description from channel

🌀 ” Our Only Aim Is To Let Get Placed To You In A Reputed Company. “
🔥 Free materials of all companies
🔥 Off campus updates
🔥 Interview experiences

Ratings & Reviews

3.50

2 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 259

2021-09-06 08:12:07
C++
Telegram
@freejobs77
@freejobs77
@freejobs77
305 views05:12
Open / Comment
2021-09-05 04:52:37 https://www.tcs.com/careers/tcs-off-campus-hiring
363 views01:52
Open / Comment
2021-09-04 11:26:47
231 views08:26
Open / Comment
2021-09-04 11:19:44 class GFG

{

    static int MAX_CHAR = 26;

     

    // function to return true if strings have

    // common substring and no if strings have

    // no common substring

    static boolean twoStrings(String s1, String s2)

    {

        // vector for storing character occurrences

        boolean v[]=new boolean[MAX_CHAR];

        Arrays.fill(v,false);

     

        // increment vector index for every

        // character of str1

        for (int i = 0; i < s1.length(); i++)

            v[s1.charAt(i) - 'a'] = true;

         

        // checking common substring of str2 in str1

        for (int i = 0; i < s2.length(); i++)

            if (v[s2.charAt(i) - 'a'])

            return true;

         

        return false;    

    }

     

    // Driver code

    public static void main (String[] args)

    {

        String str1 = "hello";

        String str2 = "world";

        if (twoStrings(str1, str2))

            System.out.print("Yes");

        else

            System.out.print("No");

    }

}

DIRECTORY NAME PROPOSAL
@freejobs77
@freejobs77
@freejobs77
243 views08:19
Open / Comment
2021-09-04 11:13:56
from bisect import bisect_left, insort_left

n, d = map(int, input().split())
t = list(map(int, input().split()))
noti = 0

lastd = sorted(t[:d])
def med():
return lastd[d//2] if d % 2 == 1 else ((lastd[d//2] + lastd[d//2-1])/2)

for i in range(d, n):
if t[i] >= 2*med():
noti += 1
del lastd[bisect_left(lastd,t[i-d])]
insort_left(lastd, t[i])
print(noti)

Python3
EPAM Bank Notification
@freejobs77
@freejobs77
@freejobs77
210 views08:13
Open / Comment
2021-09-04 10:45:36 package BankAccount;

 

public class Account

{

    private double balance;

    private long accNum;

    private String accHolder;

    

     public Account(String name, long num)

     {

     accHolder = name;

         accNum = num;

         balance = 0.00;

     System.out.println("Account Created");

     }

    

     public void deposit(double amt)

     {

     balance = balance + amt;

     System.out.println("Amount Deposited.");

     }

    

     public void withdraw(double amt) throws BankAccountException

     {

     try

     {

         if(balance >= amt)

         {

         balance = balance - amt;

             System.out.println("Amount Withdrawn");

         }

         else

         {

         throw new BankAccountException("Could not Withdraw: Insufficent Amount.");

         }

     }

     catch(BankAccountException bae)

     {

              bae.printStackTrace();

         }

     }

    

     public void printBalance()

     {

     System.out.println("Current balance: " + balance);    

     }

     public double getBalance()

     {

         return balance;

     }
@freejobs77
@freejobs77
@freejobs77
249 views07:45
Open / Comment
2021-09-04 10:37:37
private static void rateComapanies(Scanner input) {

while(input.hasNext()) {
String s[] = input.nextLine().split(", ");
int rating = 0;
for(int i = 1; i < s.length; i++){
for(String k : s[i].split(" ")) {
switch(k.toLowerCase()) {
case "good":
rating += 3;
break;
case "excellent":
case "great":
case "best":
case "super":
rating += 5;
break;
case "awesome":
case "fantastic":
rating += 6;
break;

case "no":
rating -=1;
break;
case "not":
rating -= 2;
break;
case "poor":
case "bad":
rating -= 3;
break;
case "worse":
rating -= 5;
break;
case "worst":
rating -= 6;
break;
case "hard":
rating -= 4;
break;

}
}
}

System.out.println(s[0] + " : " + rating);
}

}
@freejobs77
@freejobs77
248 views07:37
Open / Comment
2021-09-04 10:33:52
237 views07:33
Open / Comment
2021-09-04 10:19:13
InterntextEditor*


int n=scn.nextInt();

String a[]=new String[n];

String k="",kk="";;
for(int i=0;i {
a[i]=scn.nextLine();
}

for(int i=0;i {
String z[]=a[i].split(" ");
if(Integer.parseInt(z[0])==1)
{
kk=k;
k=k+z[1];
}
else if(Integer.parseInt(z[0])==2)
{
kk=k;
k=k.substring(0,k.length()-Integer.parseInt(z[1]));
}
else if(Integer.parseInt(z[0])==3)
{
System.out.println(k.charAt(Integer.parseInt(z[1])));
}
else if(Integer.parseInt(z[0])==4)
{
k=kk;
}
}

INTERN TEXT EDITOR
Telegram
@freejobs77
@freejobs77
@freejobs77
280 views07:19
Open / Comment
2021-09-04 09:29:38
input1=input1.split("]")
output=""
for j in input1:
if len(j)!=0:
indx=j.find("[")
num=j[:indx]
stri=j[indx+1:]
output+=stri*(int(num))
return output
157 views06:29
Open / Comment