allcoding1
26.9K subscribers
2.2K photos
2 videos
77 files
861 links
Download Telegram
def max_benefit(n,A, K):
    n = len(A)
    dp = [0] * (n + 1)
    prefix_sum = [0] * (n + 1)
   
    for i in range(1, n + 1):
        prefix_sum[i] = prefix_sum[i - 1] + A[i - 1]
   
    for i in range(1, n + 1):
        min_val = float('inf')
        max_val = float('-inf')
       
        for j in range(1, K + 1):
            if i - j >= 0:
                min_val = min(min_val, prefix_sum[i] - prefix_sum[i - j])
                max_val = max(max_val, prefix_sum[i] - prefix_sum[i - j])
                dp[i] = max(dp[i], dp[i - j] + max(max_val, -min_val))
   
    return dp[n] % MOD

Alternate Segment
Infosys

Telegram:- @allcoding1
πŸ‘4
Cinema code
infosys

Telegram:- @allcoding1
Beautiful set of nodes
Infosys

Telegram:- @allcoding1
🎯 Global Logic is hiring

Role : Associate Analyst
Experience : 0 - 1 year

Apple Now:-
https://www.globallogic.com/careers/associate-analyst-dei-irc214321/

Telegram:- @allcoding1
🎯Oracle is hiring

Role : Software Engineer l
Experience : 0 - 2+ years

Apply Now:- https://eeho.fa.us2.oraclecloud.com/hcmUI/CandidateExperience/en/sites/jobsearch/job/231334


Telegram:- @allcoding1
🎯Locus is hiring

Role : DevOps Engineer
Experience : 1 - 2 years
CTC : 15-25 LPA

Apply Now:- https://locus.freshteam.com/jobs/mbURMTm9XO-R/devops?ft_source=4000030064&ft_medium=4000026063

Telegram:- @allcoding1
🎯Matrimony is hiring

Role : software engineer intern
Batch : 2025,2024, 2023 passouts

Apply Now:- https://matrimonycareers.peoplestrong.com/job/detail/MCL_SE-I_983228

Telegram:- @allcoding1
🎯 Dow Jones is hiring

Role : Web Developer
CTC : 12 - 15 LPA

Apply now : https://dowjones.jobs/mumbai-ind/web-developer/4AD2CBD937984D1DA86277BBBAC931DA/job/?vs=16061606


Telegram:- @allcoding1
🎯Company: TCS

Post: 6000+

Qualification: Graduate (All Stream)

Selection Process: Interview & DV

Online Apply Date: 08th March  2024

Last Date of Online Apply: 27th May 2024

Apply Now:- https://nextstep.tcs.com/campus/#/

Telegram:- @allcoding1

πŸ“’Not:- mobile users open in desktop mood
πŸ‘3πŸ‘Ž1😁1
🎯Company : Infosys

Post: 4000+

Qualification: UG, Graduation & PG

Selection Process: Interview & DV

Online Apply Date: 14th March 2024

Last Date of Online Apply: 27th April  2024

Apply now:- https://careers.infosys.com/instep/internship/instepregistrationpage.aspx

Telegram:- @allcoding1
πŸ‘7
🎯 Zog global is Hiring

Role: Software Developer Intern
Batch: 2023/2024/2025/2026
Duration: 3-6 months
Location: Remote

Apply now: https://zogglobal.com/jobs/software-developer-intern/

Telegram:- @allcoding1
🎯 Airtel is hiring

Role : Software Engineer l
CTC : 11+ LPA
Experience : 0 - 2 years

Apply Now: https://eeji.fa.em3.oraclecloud.com/hcmUI/CandidateExperience/en/sites/CX_1/job/125162/?utm_medium=jobshare

Telegram:- @allcoding1
πŸ‘5
🎯HCL is hiring

Role : Graduate Trainee
Batch : 2023, 2022 passouts
CTC : 4 LPA
Location : Lucknow, Nagpur

Apply now : https://forms.office.com/pages/responsepage.aspx?id=N-edGDrJWk-LaG9MqZQZEvdjEM5NiEhEl9yRzhUhvJpURE8yNUkxSDZYMDFWM0FXRU9OSUtMREEzMiQlQCN0PWcu

Telegram:- @allcoding1
πŸ‘2
🎯Company Name Cognizant
Post Name Associate Software Engineer
Qualification Any Bachelor’s Degree
Branch Any Branches
Batch 2021, 2022, 2023 & 2024
Salary Up to β‚Ή14 LPA
Experience Fresher
Job Location Chennai
Last DateASAP


Apply Now:- https://careers.cognizant.com/in/en/job/00046956561/Software-Engineer-Associate

Telegram:- @allcoding1
πŸ‘6
class UserMainCode:
   
    def chocolateArrangement(cls, input1, input2, input3):
        maxi = 0
        combi = input1 + input1
        for shift in range(input3):
            pair = sum(1 for i in range(input3) if combi[i + shift] == input2[i])
            maxi = max(maxi, pair)
        return maxi

Chocolate Arrangement


Telegram:- @allcoding1
πŸ‘8
🎯Baker Hughes is hiring for Early Career Trainee
Expected Salary: 5-7 LPA
Apply Now:
https://careers.bakerhughes.com/global/en/job/BAHUGLOBALR113723/Early-Career-Trainee

Telegram:- @allcoding1
πŸ‘2
Aspiring Programmer code
IBM
Telegram:- @allcoding1
Minimum operation
IBM
Telegram:- @allcoding1
Min cost of project
IBM
Telegram:- @allcoding1
IBM
Telegram:- @allcoding1
def max_units(boxes, units_per_box, truck_size):
    products = list(zip(units_per_box, boxes))
    products.sort(reverse=True)
   
    max_units = 0
    for units, boxes in products:
        if truck_size >= boxes:
            max_units += units * boxes
            truck_size -= boxes
        else:
            max_units += units * truck_size
            break
    return max_units

IBM
Telegram:- @allcoding1
πŸ‘2