There are two candy shops, both of which have N candies for sale. The first shop sells each candy for one golden coin, the second shop sells each candy for one silver coin. You have N/2 golden coins and N/2 silver ones (N is even).
Each candy is of some particular type (not necessarily unique), represented by an integer. What is the maximum number of different types of candy that you can buy?
Write a function:
class Solution (public int solution (int[] A, int[] B);
that, given two arrays A and B of N integers, representing types of candies in the first and second shop respectively, returns the maximum possible number of different types of candy that you can buy.
For example, given:
A = [1, 2, 3, 4]
B= [3, 3, 3, 7]
the function should return 4. You can, for example, buy candies of types 1,2 in the first shop and then candies of types 3,7 in the second shop.
Given:
A=[2, 2, 2, 2, 2, 2]
B=[7, 4, 2, 5, 1, 2]
the function should also return 4. in the first shop you can only buy candies of type 2, but then you can buy three candies of other types (for example, 7, 4 and 5) in the second shop
Test Output
Write an efficient algorithm for the following assumptions N is an integer within the range [2.100,000)
-N is ever each element of arrays A and B is an integer within
the range [1.1,000,000,000]
Question 2:
There is an array A that consists of N integers. In one move you can select a number from A and replace it by the sum of its digitsOne number can be selected multiple timesYou can apply at most two moves. What is the minimum sum of the array you can achieve?
Write a function:
class Solution (public int solution(int[] A)
that, given an array A, returns the minimum sum of the array you can achieve after applying at most two moves
Examples:
1. Given A = [1, 10, 12, 3] you can apply the move on the second and third elements A = [1, 1, 3, 3] and the function should return 8
2. Given A = [2, 29, 3] you can apply the move twice on the second
element Then A = [2, 2, 3] and the function should return 7.
3.Given A = [100, 101, 102, 103] you can apply the mov…
4.Given A = [55] you can apply the move twice on the first element Then A = [1] and the function should return 1.
Test Output
Write an efficient algorithm for the following assumptions: N is an integer within the range [1..50,000]
each element of array A is an integer within
the range [1..10,000]
Wipro Limited is a leading global information technology, consulting and business process services company. We harness the power of cognitive computing, hyper-automation, robotics, cloud, analytics and emerging technologies to help our clients adapt to the digital world and make them successful. A company recognized globally for its comprehensive portfolio of services, strong commitment to sustainability and good corporate citizenship, we have over 175,000 dedicated employees serving clients across six continents. Together, we discover ideas and connect the dots to build a better and a bold new future.
Job Title:
Project Engineer
Last Date To Apply:
ASAP, will end as soon as a certain number is reached, So don't wait Apply Fast.
Educational Requirements:
60% in 10th and 12th standard
6.0 CGPA or 60% in graduation
Maximum of 1 active backlog is allowed till the interview stageBranches- CS/IT/Circuital/Mech/Allied/Integrated
Year of passing – 2022
3 years of gap allowed in education (10th to Graduation)
NO GAP allowed in graduation period
Graduation should be completed within 4 years
Qualification:
B.E./B.Tech. (Compulsory Degree)/5 year Integrated courses
Age Limit
25 years.
Evaluation Process:
Compensation Per Annum:
INR 10 Lakh + 1 Lakh Retention Bonus paid after 1 year completion and merged to CTC after 1 year
Career Band: B1
Service Agreement: Not Applicable
Bain and Company Hiring for any graduate (2019,2020,2021,2022)|How to Apply Registration Link| Off campus Drive recruitment for all graduates
Company Overview
Across 59 offices in 37
countries, the firm works alongside clients as one team with a shared ambition
to achieve extraordinary results, outperform the competition, and redefine
industries. Since the founding of Bain & Company in 1973, it has measured
its success by the success of its clients, and proudly maintains the highest
level of client advocacy in the industry. While the firm’s client list is
closely guarded, Bain is known to have worked with such prestigious names as De
Beers, Dell, Ford, Charles Schwab, Starbucks, Del Monte, KIPP, and Bill &
Melinda Gates Foundation.
Bain & Company Hiring Off campus Drive 2022
|
Job Role |
Analyst - Consumer Product & Retail COE |
|
Qualification |
B.E/B.Tech/MCA/M.Sc(Any Graduate can apply) |
|
Experience |
0-2 Years |
|
Salary |
9 LPA |
|
Job Location |
New Delhi |
How to apply for Bain & Company Off campus Drive
2022?
All interested and eligible
candidates can apply this drive in online on or 12:00 AM April 5, 2022 through D2C platform.
Details
Bain is hiring for the position of Analyst - Consumer
Product & Retail COE
Responsibilities of the Candidate:
· Work along with other analysts, associates, and leads in the team and
are expected to own and deliver the allocated workstream in a timely and
well-organized manner
· Generate comprehensive hypotheses and prioritize solutions for the most
pertinent issues using various tools and techniques
· Communicate data, knowledge, and insights to the entire team/ leadership
and help in generating actionable solutions
· Work well in a team setting, understand the key aspects of delivery and
deliver them with direction from senior team members
· Seek and provide actionable feedback in interactions
· Ensure timely, high-quality delivery to Bain case leadership/clients
Requirements:
· Candidates should be undergraduates with strong academic records
· Minimum of 0-2 years of relevant experience - exposure to management consulting
and data analytics relating to market/ business/ consumer insights, preferably
in a global MNC environment within Consumer Products/ Retail industry domains
· Strong communications skills, should be able to drive discussion/
presentations with senior stakeholders
· Understanding of analytical tools and techniques including / similar to
Alteryx, Tableau, Power BI is mandatory; Understanding of Python, R, and SPSS
would be a plus
· Candidates should possess excellent analytical, communication, and team
player skills, the ability to handle multiple tasks and work under pressure
· Strong skills in Microsoft Excel and PowerPoint are required, with knowledge of tools such as Tableau, Alteryx, Power BI are a plus
Apply Link: click me
TCS Digital Hiring 2022 Batch
REGISTRATION END DATE
2nd April, 2022
About TCS Digital Hiring for Batch of 2022
The turning point in your career can come early with our TCS Digital Hiring Drive for remarkable engineering graduates from the Year of Passing (YoP) 2022.
This exclusive opportunity will lead you towards building a significant career in IT.
Join us and shape a career that magnifies your creativity, purpose, and innovative mind. Register now.
Streams we’re hiring for: BE / B.Tech / ME / M.Tech / MCA / M.Sc. from Year of Passing 2022
Application Process
The application process for TCS Digital Hiring for YoP 2022 comprises of below mandatory steps:
Step 1. Logon to the TCS Next Step Portal here
Step 2. Register and complete the application form on TCS NextStep portal. Status of your application should be ‘Application Received’ or above
Scenario A. If you are a registered user, kindly login and proceed to complete the application form
Scenario B. If you are a new user, kindly click on ‘Register Now’, then choose the category as “IT” and proceed to fill out your details. After that, submit your application form
Step 3. Upon submission you would be prompted to the “Apply for Drive” screen. Click on Apply
Step 4. In the Track Your Application menu, the status should be updated as “Applied for Drive”
To get test ready with TCS Resonance, click here. Know more in the section titled "Digital test preparation with Resonance".
Important Note:
- In case you already hold a TCS Offer, you should not apply for this drive. You can watch out for the communication coming through Xplore to register for the digital test
- You must have all your original academic documents till date, readily available. Documents would be verified at the time of the selection process
- Communication related to the Test will be communicated by TCS iON
- Test mode will be remote only
- Creating a TCS (CT/DT) Reference ID is mandatory
- TCS does not send job offers / any hiring related communication from unofficial email ids like Gmail, Rediff mail, Yahoo Mail, Hotmail, etc.
- TCS does not ask candidates to deposit any money for job offers
- TCS is not associated with any external agency/company to conduct any interviews or make offers of employment on its behalf
All info for video is present in this link: https://youtu.be/qINU5bWgoHI
Apply Link: https://on.tcs.com/3KRenl1
Thanks For Visiting...!!
Search
Popular Posts
-
Learning app mern stack App.js import React, { Component } from "react"; import "./App.css"; class Home extends Componen...
-
Epam Systems Off Campus Drive 2022 | B.E/B.Tech/MCA/M.Sc About Company : EPAM Systems, Inc. is an American-Belarusian company that special...
-
Hello in this Article "we will Provide you a best Energy Resource Management Most Important Questions you can directly write in your ...
Categories
- #Arts & Science#Others#Data Analytics#Operations#Business#Engineering
- #Tfactor #tcs2023 #tcshiring #trending
- #wipro #codingquestion #trending #wiprohiring
- 2022hiring
- Btech hiring
- Btech2022
- digital Hiring
- Education Related Content
- Energy Resource Management
- Environmental Science
- Environmental Studies
- f lareStudy
- jobs 2022
- offcampus hiring
- pune EPAM 2022 Batch Fresher Recruitment DriveRegistration Link| EPAM On Campus Placement/Recruitment Drive for freshers of 2022 Batch | EPAM Freshers 2022 Batch Hiring
- TCS 2022
- TCS Hiring
- Wiprohiring


