UiPath Coding Questions

Coding Questions in UiPath

Questions and answers on UiPath Coding Test are part of a computer-based online recruitment test called UiPath Test Coding Questions.

We would like to give you some information about how to attempt the test before you start the procedure. Please note that the material on this page only refers to the campus hiring procedure. Activities that take place on or off campus may vary from one region to another.

Devrev Coding Questions

About UiPath Company

UiPath harness automation’s transformational power to unleash people’s limitless potential and fuel lucrative business growth.

With an unmatched time to value, the AI-powered UiPath Business Automation Platform combines outstanding robotic process automation (RPA) with a broad range of capabilities to comprehend, automate, and manage end-to-end processes.

UiPath is The Basis of InnovationTM for businesses looking to prosper and expand in constantly shifting environments.

UiPath Company Eligibility Criteria

UiPath is looking to hire Associate RPA Developer roles in Bangalore & Chennai location.

Intuit CompanySoftware Developer
Batch2023
CourseCS, IT & MCA
RoleAssociate RPA Developer
Education
  • Min 7 CGPA or 70%
  • No active backlogs
CTC
  • Fixed (Base) – 9 Lacs

  • RSU – 4.5 Lacs (4 Years)

  • Performance Bonus – 10%

LocationChennai/ Banglore
Type of EmploymentFTE

UiPath Company Selection Criteria

  • Round 1 – Online Coding Assessment
  • Round 2 – Technical interview
  • Round 3 – Managerial/Leadership Round

Prime Course Trailer

Related Banners

Get PrepInsta Prime & get Access to all 200+ courses offered by PrepInsta in One Subscription

UiPath Coding Test Questions

Question 1 : Key Logger

Problem statement-: Elliot made a KeyLogger for his friend Romero, so that he can see the passwords of his friend. Keylogger is a software that can tell you the buttons pressed in the keyboard without the consent of the user, and hence unethical. Elliot made it to hack Romero’s passwords. The one problem is, Romero writes the passwords in lowercase characters only, and the keylogger only takes the values of the keys. Like, for a it takes 1, for b 2, and for z 26. For a given number Elliot produces all combinations of passwords in a dictionary and starts a dictionary based password attack. For a given number, print all the possible passwords in a lexicographic order.

Input Format:

  • One line, denoting the value given by the keylogger

Output Format:

  • All possible combinations of keyloggers in new lines are lexicographically ordered.

Constraints:

  • 2<=Number of digit in input<=1000

Sample Input:

1234

Sample Output:

abcd

awd

lcd

Explanation:

For 12, you can take 1,2 that is ab, or you can take l.

Question 2: Max Value

Problem Statement- Ramesh went to a bookshop to buy books. There is a list of books with their value and price. Now Ramesh has limited money but he wants maximum value possible. Now there are 2 kinds of books, one is denoted with 1, that is independent, another one is denoted as 2, which you have to buy in double, that means you can not buy a single or odd number of those books. 

Print the maximum value Ramesh can extract from the books. 

Input Format:

  • First line contains two integers, n (Number of books) and T, total money he has.
  • Then n lines, 4 variables in each line, 
  • The serial number of the book
  • The value of the book
  • The price of the book
  • The marking (1 or 2)

Output Format:

  • Maximum value possible to be bought.

Constraints:

  • Number of books: <=100
  • Maximum Money with Ramesh <=1000
  • Max price of a book<=1000

Sample Input:

5 20

1 3 7 0

3 9 10 1

2 4 3 1

7 3 2 0

22 7 7 0

Sample Output:

20

Explanation:

It will be the 1st book,2nd and the third book

Question 3 : Maximize Earnings

Problem Statement-  A taxi can take multiple passengers to the railway station at the same time.On the way back to the starting point,the taxi driver may pick up additional passengers for his next trip to the airport.A map of passenger location has been created,represented as a square matrix.

The Matrix is filled with cells,and each cell will have an initial value as follows:

  • A value greater than or equal to zero represents a path.
  • A value equal to 1 represents a passenger.
  • A value equal to -1 represents an obstruction.

The rules of motion of taxi are as follows:

  • The Taxi driver starts at (0,0) and the railway station is at (n-1,n-1).Movement towards the railway station is right or down,through valid path cells.
  • After reaching (n-1,n-1) the taxi driver travels back to (0,0) by travelling left or up through valid path cells.
  • When passing through a path cell containing a passenger,the passenger is picked up.once the rider is picked up the cell becomes an empty path cell. 
  • If there is no valid path between (0,0) and (n-1,n-1),then no passenger can be picked.
  • The goal is to collect as many passengers as possible so that the driver can maximize his earnings.

Sample Input 0

4  

0 0 0 1

1 0 0 0

0 0 0 0

0 0 0 0

Sample Output 0

2

Explanation 0

The driver can contain a maximum of 2 passengers by taking the following path (0,0) → (0,1) → (0,2) → (0,3) → (1,3) → (2,3) → (3,3) → (3,2) → (3,1) → (3,0) → (2,0) → (1,0)  → (0,0)

Sample Input 1

   3   

   3    

   0 1 -1 

   1 0 -1

   1 1 1

Sample Output 1

5

Explanation 1

The driver can contain a maximum of 5 passengers by taking the following path (0,0) → (0,1) → (1,1) → (2,1) → (2,2) → (2,1) → (2,0) → (1,0) → (0,0)

Question 4 : Stocks 

Problem Statement – Ratan is a crazy rich person. And he is blessed with luck, so he always made the best profit possible with the shares he bought. That means he bought a share at a low price and sold it at a high price to maximize his profit. Now you are an income tax officer and you need to calculate the profit he made with the given values of stock prices each day. You have to calculate only the maximum profit Ratan earned.

Note that:

  • Ratan never goes into loss.

Example 1

  • Price=[1,6,2]
  • Ratan buys it on the first day and sells it on the second. 

Example 2

  • Price=[9,8,6] 

The Price always went down, Ratan never bought it.

Input Format:

  • First line with an integer n, denoting the number days with the value of the stack
  • Next n days, telling the price of the stock on that very day.

Output Format:

  • Maximum profit done by Ratan in a single line.

Constraints:

  • Number of days <=10^8

Sample Input for Custom Testing

 STDIN              

———–       

7

11

2

Sample Output

  10

 Explanation

The maximum profit possible is when Ratan buys it in 1 rupees and sells it in 11.

Question 5 : powerful Character

Problem Statement – Codu is given a string and he thinks the letters that are repeated do have more power. He gathers only the repeating characters and keeps them as the most powerful to least powerful manner. Now it is your turn to write a code that will help Codu to do that.

Note that: only lowercase alphabets are accepted in input.

Input Format:

  • A string in a single line

Output Format:

  • A string made of only the repeated characters as sorted their frequency reducin, if the same the lower ascii value comes before.

Constraints:

  • Length of string<=10^5

Sample Input:

abcdefghaabca

Sample Output:

abc

FAQs on UiPath Coding Test

Question 1: Does the UiPath recruitment process includes coding test?

Yes, in Online Assessments and Technical Assessments coding questions are asked in UiPath Recruitment Process.

Question 2: What is the recruitment process of UiPath ?

UiPath includes Coding Assessments, Technical Interviews and Managerial/Leadership Round for testing the capability of the applicants.

Question 3: How long does the recruitment process take at UiPath?

The duration of the recruitment process at UiPath can vary depending on the role, the number of applicants, and other factors. Typically, it may take anywhere from a few days to several weeks.

Get over 200+ course One Subscription

Courses like AI/ML, Cloud Computing, Ethical Hacking, C, C++, Java, Python, DSA (All Languages), Competitive Coding (All Languages), TCS, Infosys, Wipro, Amazon, DBMS, SQL and others

Checkout list of all the video courses in PrepInsta Prime Subscription

Checkout list of all the video courses in PrepInsta Prime Subscription