Intuit Coding Questions

Intuit Coding Questions With Answers

Intuit Coding Questions, which involves a computer-based online recruitment test, includes questions and answers on Intuit coding.

We would like to give you some instructions on how to attempt the test before you start the process. Please be aware that the data on this page only pertains to the campus hiring procedure. It may vary from area to region for on-campus or off-campus activities.

Intuit coding Questions

About Intuit Company

What makes Intuit a great place to work?

The right combination of a Meaningful Mission, Innovation & Technology, and a Great Place to Work culture.

What They Do?

At Intuit, it’s everyone’s job to innovate. They work in intuitive web, mobile and cloud solutions that enable 100 million consumers around the world to take charge of their money and do what they love.

Intuit Company Eligibility Criteria

Intuit Company hired for two positions that is SWE Intern/ SWE NCG. We have tabulated the eligibility criteria below in the tabulated format for both the profiles.

Intuit CompanySWE Intern/ SWE NCG
Batch2023
CourseCSE/IT/Software Engineering, Mathematics and Computing, ECE, EEE
RoleSWE Intern/ SWE NCG
Education
  • Min 7 CGPA or 70%
  • No active backlogs
Co- Op Internship StipendINR 80,000/- per month
NCG CTCCTC of 41,54,000/- INR
Co- Op Internship Duration6 months
Re-LocationYes, for first 30 nights (For relocation eligible candidates)

Intuit Company Selection Criteria

  • Coding Challenge – The online test will have 4 coding questions that the candidates will have to solve in 90 minutes. 
  • Technical Assessment
  • Values Fit
  • Research and summer work experience
  • Leadership positions in group activities

Prime Course Trailer

Related Banners

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

Sample Intuit Coding Questions With Solutions

Question 1 : Move Hash to Front

Problem Statement :

You have write a function that accepts, a string which length is “len”, the string has some “#”, in it you have to move all the hashes to the front of the string and return the whole string back and print it.

char* moveHash(char str[],int n);

Example :
Sample Test Case
Input :
Move#Hash#to#Front
Output :
###MoveHashtoFront

Question 2 : Coloured Zenga

Problem Statement :

Rahul is playing a game, wherein he has multiple coloured wooden blocks, stacked one above the other, his task is to remove all the wooden blocks from the stack, without letting it fall and in the minimum number of steps. He can remove one block of a colour at a time, but he can remove multiple blocks of the same colour together. Determine the minimum number of steps in which he can perform this task.

For example, if you remove [red,red] from (white,red,red,white), the resulting array is [white,white].

Note- there are only two colour blocks – red and white

Function description :

Complete the minMoves function in the provided editor. It contains the following parameters:

Parameters:

NameTypeDescription
NIntegerNo. of Wooden blocks
Array[ ]Integer ArrayArray of Blocks.

Input format :

The first line contains an integer n denoting the number of blocks. Each n line denotes the colour of the wooden block .

Constraints :
1<=n<=700
0<=a[i]<=1

Sample input 1 :

4
red
white
white
red

Sample Output 2 :

2

Explanation :

Remove [white,white] first The array will be [red,red] The remaining numbers can  be removed in one strap .

Sample Input 1:

4
white
red
white
red

Sample Output 1:

3

Sample Explanation:
0
The steps are [white,red,white,red]->[red,white,red]->[red,red]->[]. Therefore the answer is 3.

Question 3 : Copycat in exam

Problem Statement: Rahul copies in the exam from his adjacent students. But he doesn’t want to be caught, so he changes words keeping the letter constant. That means he interchanges the positions of letters in words. You are the examiner and you have to find if he has copied a certain word from the one adjacent student who is giving the same exam, and give Rahul the markings he deserves.
Note that: Uppercase and lowercase are the same.

Input Format:

  • First line with the adjacent student’s word
  • Second line with Rahul’s word

Output Format:

  • 0 if not copied
  • 1 if copied
  • Constraints:
  • 1<=Length of string<=10^6

Sample Input:

  • CAR
  • Acr

Sample Output:

  • 1

Question 4 : Order check 

Problem Statement: In an IT company there are n number of Employees , they are asked to stand in ascending order according to their heights.But some employees are not currently standing in their correct position.

Your task is to find how many employees are there who are not standing in their correct positions.

Example

height=[1,2,1,3,3,4,3]

The 4 employees at indices 1,2,5 and 6 are not in the right positions. The correct positions are (1,1,2,3,3,3,4).Return 4.

Function Description

Complete the function countEmployees in the editor below.

count Employee has the following parameter(s):

int height[n]:an array of heights in the order the employees are standing

Returns:

Int : the number of employees not standing in the correct positions

Constraints

  •    1<=n<=10^5
  •    1<=height[i]<=10^9

Sample case 0

Sample input 0

7 ->height[] size n=7

1

2

1

3

3

4

3

Sample output 0:

4

Explanation

The four employees who are  not standing in the correct positions are at indices [1,2,5,6] return 4. The correct positions are [1,1,2,3,3,3,4].

Question 5 : Network Stream

Problem Statement :

A stream of n data packets arrives at a server. This server can only process packets that are exactly 2^n units long for some non-negative integer value of n (0<=n).
All packets are repackaged in order to the 1 largest possible value of 2^n units. The remaining portion of the packet is added to the next arriving packet before it is repackaged. Find the size of the largest repackaged packet in the given stream.

Example arriving Packets = [12, 25, 10, 7, 8]
The first packet has 12 units. The maximum value of 2^n that can be made has 2^n = 2^3 = 8 units because the next size up is 2^n = 2^4 = 16 (16 is greater than 12).

12 – 8 = 4 units are added to the next packet. There are 4 + 25 = 29 units to repackage, 2^n = 2^4 = 16 is the new size leaving 9 units (29-16 = 9)

Next packet is 9 + 10 = 29 unists & the maximum units(in 2^n) is 16 leaving 3 units.
3 + 7 = 10 , the max units is 8 Leaving 2 units, and so on.
The maximum repackaged size is 16 units.

Returns:
Long : the size of the largest packet that is streamed

Constraints :
1<=n<=10^5
1<=arriving Packets[i] size<=10^9

Sample case 0 :

Sample input 0:
5 → number of packets=5
13→ size of packets=[13,25,12,2,8]
25
10
2
8
Sample output 0:
16

FAQs on Intuit Coding Questions

Question 1: What are the main topics covered in Coding Assessment and Technical Interview of Intuit?

They frequently ask questions on DSA, DBMS, OOPs, and other necessary Computer Science concepts.  

Question 2: For what work Intuit is known?

Financial management, marketing, and compliance products and services are provided by Intuit Inc. In other words they provide Financial Software and Assistance to their customers to manage their financial deeds.

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