R1RCM Coding Questions

R1RCM Coding Questions with Solutions

In this page, you will find out R1RCM Coding Questions and Answers asked in Online Assessments and Technical Interviews involved in the Hiring Process of the Company.

Go through this page to get more details like Job Profile, Job Location, CTC Offered, Steps involved in the recruitment process, etc of the company.

r1rcm coding

About R1RCM

R1RCM is a leading provider of technology-driven solutions that transform the patient experience and financial performance of healthcare providers. The company deliver proven ROI across the entire revenue cycle – front, middle and back office. This enables its customers to achieve an optimal revenue cycle – one that promotes patient satisfaction and improves financial performance.

About R1RCM Recruitment Process

The R1RCM Recruitment Process consists of the following steps :

  1. Online  Assessment [ MCQ + Coding ]
  2. Technical Interview 
  3. HR Interview 

We have mentioned further details of the R1RCM Recruitment Process in the following Tabular Form

R1RCMRelated Information
Position :Trainee Software Engineer
Course :
  • B.Tech – CSE, IT , ECE
  • Eligible Batch – 2023
Eligibility Criteria / Academic Qualification Required :
  • 60% (10th , 12th and graduation)
  • No Current Backlogs.
CTC  :
  • 7 LPA
Selection Process :
  1. Online Assessment (MCQ + Coding)
  2. Technical Interview
  3. HR Interview
Joining Location :

Noida

Prime Course Trailer

Related Banners

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

R1RCM Coding Questions and Answers

Question 1: Consecutive Prime Sum

Problem Description

Question – :  Some prime numbers can be expressed as a sum of other consecutive prime numbers.

  • For example
    • 5 = 2 + 3,
    • 17 = 2 + 3 + 5 + 7,
    • 41 = 2 + 3 + 5 + 7 + 11 + 13.
      Your task is to find out how many prime numbers which satisfy this property are present in the range 3 to N subject to a constraint that summation should always start with number 2.

Write code to find out the number of prime numbers that satisfy the above-mentioned property in a given range.

Input Format: First line contains a number N

Output Format: Print the total number of all such prime numbers which are less than or equal to N.

Constraints: 2<N<=12,000,000,000

Question 2 : Celsius to Fahrenheit

 

Problem Statement  :


There are two major scales for measuring temperature, celsius & Fahrenheit.Given a floating point input for temperature in celsius scale, Write a program to convert celsius to fahrenheit, up till 2 decimal points.

Input     Output
56           132.8

Explanation:
56 degrees celsius means132.8 degrees of Fahrenheit to be exact.

Question 3:

You have a positive integer m and a non-negative integer s. Your task is to find the smallest and the largest of the numbers that have length m and sum of digits s. The required numbers should be non-negative integers written in the decimal base without leading zeroes.

Input

  • The single line of the input contains a pair of integers m, s (1 ≤ m ≤ 100, 0 ≤ s ≤ 900) — the length and the sum of the digits of the required numbers.

Output

  • In the output print the pair of the required non-negative integer numbers — first the minimum possible number, then — the maximum possible number. If no numbers satisfying conditions required exist, print the pair of numbers “-1 -1” (without the quotes).

Examples

  • Input 1
    2 15
  • Output 1
    69 96
  • Input 2
    3 0
  • Output 2
    -1 -1

Question 4 : Help Anirudh

Problem Statement  :
Anirudh loves to play games but his father is very strict. But one day his father agreed to get him a new game if he solves the following problem –
Given an array of Integers, determine the number of moves to make all elements equal. Each move consists of choosing all but 1 element and Incrementing their values by 1. Can you help Anirudh?

Example :
numbers= [3, 4, 6, 6, 3]
Choose 4 of the 5 elements during each move and Increment each of their values by one. Indexing begins at 1. It takes 7 moves as follows:

iterationarray
0[3,4,6,6,3]
1[4,5,7,6,4]
2[5,6,7,7,5]
3[6,7,8,7,6]
4[7,8,8,8,7]
5[8,9,9,8,8]
6[9,9,10,9,9]
7[10,10,10,10,10]

Returns: long: the minimum number of moves required

Constraints
1<=n<=10^5
1<=numbers(i)<=10^6

Sample case 0:
Sample input 0:
5 → size of numbers[]
3 → numbers[]=[3,4,6,6,3]
4
6
6
3
Sample output 0:
7

Sample input 1:
4
4
3
4

Sample Output 1:
2

Question 5 : Share Holder (R -> Hard)

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
1
9
2
11
1
9
2

Sample Output

10

Explanation

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

FAQs related to R1RCM Coding Questions

Question 1: What should I expect during the interview process?

During the interview process at R1RCM , you can expect to be asked a series of questions related to your experience, skills, and qualifications which are needed for Game Development. You will be showcasing your Game Development related skills like:

  • Programming languages, including C++, Java, and C
  • Experience in building libraries and APIs.
  • Knowledge of the .net.
Question 2: Is Coding questions asked in R1RCM Recruitment Process?

Yes, Coding Questions are included in Online Assessment and Technical Interview of R1Rcm.

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