Upload Button Icon Add office photos

Filter interviews by

Nagarjuna Construction Company Process Associate Interview Questions and Answers

Updated 17 Oct 2024

Interview questions from similar companies

Interview experience
5
Excellent
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Resume Shortlist 
Pro Tip by AmbitionBox:
Keep your resume crisp and to the point. A recruiter looks at your resume for an average of 6 seconds, make sure to leave the best impression.
View all tips
Round 2 - Coding Test 

#include
#include
#include
#include

class SeatReservation {
private:
int n; // Number of rows
int m; // Number of seats per row
std::vector> reservedSeats;

public:
SeatReservation(int rows, int seatsPerRow) : n(rows), m(seatsPerRow) {
reservedSeats.resize(n);
}

std::string reserve(int r, int k) {
if (r < 1 || r > n || k < 1 || k > m) {
return "Invalid row or seat number";
}

// Check if requested seats are available
for (int i = k; i < k + 3; ++i) {
if (reservedSeats[r - 1].count(i) > 0) {
return "Seats not available";
}
}

// Reserve the seats
for (int i = k; i < k + 3; ++i) {
reservedSeats[r - 1].insert(i);
}

return "Booked with seat number " + std::to_string(k);
}
};

int main() {
// Example usage
SeatReservation theater(2, 3);

std::cout << theater.reserve(1, 3) << std::endl; // Booked with seat number 1
std::cout << theater.reserve(2, 4) << std::endl; // Seats not available

return 0;
}

Round 3 - Behavioral 

(1 Question)

  • Q1. Four couples, the Maceys, Makins, Salmons and Ainsworths, used a different mode of transportation car, airplane, bus and ship-to reach their vacation dm They each left from different cities: Miami, Memphis...

Interview Preparation Tips

Interview preparation tips for other job seekers - There is a movie theater that has n rows of seats, and m seats in each row. A ticketing service allocates the seats among the q incoming booking requests.

Implement the classes and methods of the ticketing service. Return whether the seats are available for incoming queries.

Implement the classes and methods defined below :-

1. A class named SeatReservation.


Instance Variables :-

Name :-
n

Functionality :-
Stores the value of number of rows in theater.

Name :-
m

Functionality :-
Stores the value of total number of seats per row.

Constructor :-

Name :-

SeatReservation(...)

Functionality :-

A parameterized constructor that initializes the instance variables.

Methods :-

Name :-

string reserve(int r, int k)

Functionality :-

Return "Booked with seat number s" where s is the starting number of the seat otherwise prints "Seats not available".

If the seats are available, the function should return a string with the first seat number of the booked seat in the format "Booked with seat number s" where s is the number of the first seat available in the rth row. If it is not possible, return "Seats not available" and do not reserve a seat.


Example :-

n=2,m=3
q=2
first query: (1, 3)
second query (2, 4)


The theater has 2 rows of 3 seats.

The first request is for 3 seats in row 1. They are available, starting at seat 1. Return "Booked with seat number 1".

The second query is for 4 seats in row 2. Row 2 does not have 4 adjacent seats available. Return "Seats not available".

Requests are handled in the order received and allocations persist through the series of requests. A seat cannot be booked twice.

Constraints :-

• 1 ≤ n, m ≤ 10^5

• 1 ≤ q ≤ 10^4

• 1 ≤ r ≤ n

• 1 ≤ k ≤ 10^9
Interview experience
5
Excellent
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Aptitude Test 

Easy for developer work on quant reasoning and verbal for aptitude round

Round 2 - Coding Test 

Easy to medium level questions for coding round

Interview experience
5
Excellent
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Resume Shortlist 
Pro Tip by AmbitionBox:
Don’t add your photo or details such as gender, age, and address in your resume. These details do not add any value.
View all tips
Round 2 - Coding Test 

#include
#include
#include
#include

class SeatReservation {
private:
int n; // Number of rows
int m; // Number of seats per row
std::vector> reservedSeats;

public:
SeatReservation(int rows, int seatsPerRow) : n(rows), m(seatsPerRow) {
reservedSeats.resize(n);
}

std::string reserve(int r, int k) {
if (r < 1 || r > n || k < 1 || k > m) {
return "Invalid row or seat number";
}

// Check if requested seats are available
for (int i = k; i < k + 3; ++i) {
if (reservedSeats[r - 1].count(i) > 0) {
return "Seats not available";
}
}

// Reserve the seats
for (int i = k; i < k + 3; ++i) {
reservedSeats[r - 1].insert(i);
}

return "Booked with seat number " + std::to_string(k);
}
};

int main() {
// Example usage
SeatReservation theater(2, 3);

std::cout << theater.reserve(1, 3) << std::endl; // Booked with seat number 1
std::cout << theater.reserve(2, 4) << std::endl; // Seats not available

return 0;
}

Round 3 - Behavioral 

(1 Question)

  • Q1. Four couples, the Maceys, Makins, Salmons and Ainsworths, used a different mode of transportation car, airplane, bus and ship-to reach their vacation dm They each left from different cities: Miami, Memphis...

Interview Preparation Tips

Interview preparation tips for other job seekers - There is a movie theater that has n rows of seats, and m seats in each row. A ticketing service allocates the seats among the q incoming booking requests.

Implement the classes and methods of the ticketing service. Return whether the seats are available for incoming queries.

Implement the classes and methods defined below :-

1. A class named SeatReservation.


Instance Variables :-

Name :-
n

Functionality :-
Stores the value of number of rows in theater.

Name :-
m

Functionality :-
Stores the value of total number of seats per row.

Constructor :-

Name :-

SeatReservation(...)

Functionality :-

A parameterized constructor that initializes the instance variables.

Methods :-

Name :-

string reserve(int r, int k)

Functionality :-

Return "Booked with seat number s" where s is the starting number of the seat otherwise prints "Seats not available".

If the seats are available, the function should return a string with the first seat number of the booked seat in the format "Booked with seat number s" where s is the number of the first seat available in the rth row. If it is not possible, return "Seats not available" and do not reserve a seat.


Example :-

n=2,m=3
q=2
first query: (1, 3)
second query (2, 4)


The theater has 2 rows of 3 seats.

The first request is for 3 seats in row 1. They are available, starting at seat 1. Return "Booked with seat number 1".

The second query is for 4 seats in row 2. Row 2 does not have 4 adjacent seats available. Return "Seats not available".

Requests are handled in the order received and allocations persist through the series of requests. A seat cannot be booked twice.

Constraints :-

• 1 ≤ n, m ≤ 10^5

• 1 ≤ q ≤ 10^4

• 1 ≤ r ≤ n

• 1 ≤ k ≤ 10^9
Interview experience
5
Excellent
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Aptitude Test 

Easy for developer work on quant reasoning and verbal for aptitude round

Round 2 - Coding Test 

Easy to medium level questions for coding round

Interview experience
4
Good
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Selected Selected

I applied via Walk-in and was interviewed in Feb 2023. There were 3 interview rounds.

Round 1 - Resume Shortlist 
Pro Tip by AmbitionBox:
Properly align and format text in your resume. A recruiter will have to spend more time reading poorly aligned text, leading to high chances of rejection.
View all tips
Round 2 - Aptitude Test 

Simple aptitude question s related to general maths identity and local technical questions

Round 3 - HR 

(1 Question)

  • Q1. Hr will ask about previous experience. What will improve in this company

Interview Preparation Tips

Interview preparation tips for other job seekers - Ask job security

Nagarjuna Construction Company Interview FAQs

How many rounds are there in Nagarjuna Construction Company Process Associate interview?
Nagarjuna Construction Company interview process usually has 1 rounds. The most common rounds in the Nagarjuna Construction Company interview process are Assignment.

Tell us how to improve this page.

Junior Engineer
903 salaries
unlock blur

₹1.8 L/yr - ₹6 L/yr

Assistant Engineer
641 salaries
unlock blur

₹3 L/yr - ₹9 L/yr

Junior Engineer Civil
461 salaries
unlock blur

₹1.8 L/yr - ₹6.3 L/yr

Senior Engineer
427 salaries
unlock blur

₹4 L/yr - ₹11 L/yr

Assistant Engineer - Civil
244 salaries
unlock blur

₹3.3 L/yr - ₹9.2 L/yr

Explore more salaries
Compare Nagarjuna Construction Company with

Larsen & Toubro Limited

4.0
Compare

TCS

3.7
Compare

BHEL

4.1
Compare

Infosys

3.7
Compare
Did you find this page helpful?
Yes No
write
Share an Interview