allcoding1
27.6K subscribers
2.2K photos
2 videos
77 files
853 links
Download Telegram
🎯IBM Off Campus Drive 2023 | For Intern Software Engineer

Job Role:- Intern Software Engineer
Qualification:- Any Bachelor’s Or Master’s Degree
Branch:- Any Branches
Batch:- 2020, 2021, 2022, 2023 & 2024
Salary:- INR 8.4 LPA*
Experience:- Fresher
Location:- Bengaluru

Apply Now:- http://www.allcoding1.com

Telegram:- @allcoding1
πŸ‘11❀2πŸ₯°1😁1🀩1
🎯NTT Hiring Freshers 2023 | For Graduate Trainee Engineer

JobRole:- Graduate Trainee Engineer
Qualification:- Diploma or Bachelor’s degree
Branch:- Any Stream
Batch:- 2020, 2021, 2022, 2023
Salary:- INR 4.5* LPA
Experience:- Freshers
Location:- Bangalore, Hyderabad, India

Apply Now:- http://www.allcoding1.com

Telegram:- @allcoding1
πŸ‘20❀5πŸ‘3
🎯Amazon is hiring for Data Associate I ML Role


Education qualifications:-
Any  Graduate /Graduate/ Post Graduates

Job Role : Data Associate I ML

Location: work from home

Apply Now:- https://www.allcoding1.com/2023/06/amazon-is-hiring-for-data-associate-i_26.html?m=1

Telegram:- @allcoding1
πŸ‘13
0(1)

IBM ANS

Telegram:- @allcoding1
πŸ‘3
Array in Java are essentially objects

IBM ANS

Telegram:- @allcoding1
πŸ‘1
Hello
Z
1.1
1

IBM ANS

Telegram:- @allcoding1
πŸ‘3
O(m+n)

IBM ANS

Telegram:- @allcoding1
Both as a queue and as a stack

IBM ANS

Telegram:- @allcoding1
πŸ‘3
import requests
import json

def getCaptialCity(country):
api_request = requests.get(''//@allcoding1 name='+country)
data = api_request.json()['data']
if(len(data[0]['capital'])==0)
return -1
return data[0]['capital']

country = input()
print(getCapitalCity(country))

Python

IBM exam Ans

Telegram:- @allcoding1
πŸ‘9
Python

IBM exam Ans

Telegram:- @allcoding1
❀2
Forwarded from allcoding1
import requests
import json

def getCaptialCity(country):
api_request = requests.get(''//@allcoding1 name='+country)
data = api_request.json()['data']
if(len(data[0]['capital'])==0)
return -1
return data[0]['capital']

country = input()
print(getCapitalCity(country))

Python

IBM exam Ans

Telegram:- @allcoding1
πŸ‘14πŸ‘Ž3
This media is not supported in your browser
VIEW IN TELEGRAM
#Artham Ayyindha Raja😎....

@allcoding1
❀19πŸ‘14πŸ”₯10πŸ‘Ž3πŸ‘1
🎯HCL Off Campus Hiring for Freshers as Engineer Trainee | 3-5LPA

Job Role:- Engineer Trainee
Education:- Any Degree
Batch:- Any Batch
CTC/Salary:- 3-5 LPA

Apply Now:- www.allcoding1.com

Telegram:- @allcoding1


VideoπŸ‘‡

πŸ…ΎοΈInstagram:- https://instagram.com/allcoding1_official?utm_source=qr&igshid=NGExMmI2YTkyZg%3D%3D


β›”YouTube :- https://youtube.com/shorts/TMaL15W0p3g?feature=share
πŸ‘9❀2πŸ‘1
🎯GlobalLogic off Campus Drive 2023 | Associate Analyst | Gurgaon | Rs 3.5-4.5 LPA

Job Role:- Associate Analyst
Qualification:- Any Graduate
Batch:- Any Batch
Salary/CTC:- Rs 3.5-4.5 LPA

Apply Now;- http://www.allcoding1.com


Video:- https://youtube.com/shorts/tWPfvbhtPgI?feature=share

Telegram:- @allcoding1
πŸ‘11πŸ‘1
Distinct digital number
Python 3

JP Morgan

Telegram:- @allcoding1
πŸ‘6
def gameWinner(colors):
    currPlayer = "wendy"
    prevPlayer = ""
    winner = ""

    while True:
        moveMade = False
        if currPlayer == "wendy":
            whiteIndex = colors.find("www")
            if whiteIndex = -1:
                # 3 consecutive whites found, remove the middle one
                colorsBuilder = list(colors)
                colorsBuilder.pop(whiteIndex + 1)
                colors = "".join(colorsBuilder)
                moveMade = True
                prevPlayer = currPlayer
                currPlayer = "bob"
        else:
            blackIndex = colors.find("bbb")
            if blackIndex != -1:
                # 3 consecutive blacks found, remove the middle one
                colorsBuilder = list(colors)
                colorsBuilder.pop(blackIndex + 1)
                colors = "".join(colorsBuilder)
                moveMade = True
                prevPlayer = currPlayer
                currPlayer = "wendy"

        # if no moves possible break
        if not moveMade:
            winner = prevPlayer
            break

    return winner
print(gameWinner("wwwbb"))

Python 3
Game Winner
JP Morgan

Telegram:- @allcoding1
πŸ‘6
def cardinalitySort(nums):
    return sorted(nums, key=lambda num: [bin(num).count('1'), num])

Cardinality sorting
πŸ‘3
allcoding1
def cardinalitySort(nums):     return sorted(nums, key=lambda num: [bin(num).count('1'), num]) Cardinality sorting
#include <bits/stdc++.h>
using namespace std;
bool checkbit(int n,int i){
    return n&(1<<i);
}
bool cmp(const pair<int,int> &a,const pair<int,int>&b){
    return a.second<b.second;
}
int main() {
 
  int n;cin>>n;
  int a[n];
  for(int i=0;i<n;i++) cin>>a[i];
  vector<pair<int,int>> v;
  for(int i=0;i<n;i++){
      int c=0;
      for(int j=0;j<31;j++){
          if(checkbit(a[i],j)) c++;
      }
      v.push_back({a[i],c});
  }
  int idx = 0;
  sort(v.begin(),v.end(),cmp);
  for(auto it : v){
      a[idx++] = it.first;
      cout<<it.second<<" ";
  }
  for(int i=0;i<n;i++){
      cout<<a[i]<<" ";
  }
  return 0;
}

C++

Telegram:- @allcoding1
πŸ‘6❀1