Filter interviews by
#include
#include
#include
#include
class SeatReservation {
private:
int n; // Number of rows
int m; // Number of seats per row
std::vector
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;
}
I applied via LinkedIn and was interviewed before Nov 2022. There were 3 interview rounds.
General communication skills
The one-on-one interview with HR was professional and informative.
The HR representative was friendly and welcoming
The questions asked were relevant to the position and my experience
I was given a clear overview of the company culture and expectations
I have 5 years of experience as a financial analyst at a Fortune 500 company.
Analyzed financial data to provide insights and recommendations
Created financial models to forecast future performance
Prepared reports for senior management
Collaborated with cross-functional teams on budgeting and forecasting
Identified cost-saving opportunities and efficiency improvements
posted on 17 Oct 2024
Aptitude test which goes nice and we done will and basic knowledge in excel and ms offcie tool
posted on 13 May 2024
posted on 12 Sep 2023
I applied via Referral and was interviewed in Aug 2023. There were 4 interview rounds.
Normal level English grammer and General Maths
posted on 19 Sep 2024
I applied via Naukri.com and was interviewed in Mar 2024. There were 2 interview rounds.
Seeking new challenges and opportunities for growth.
Looking for a new challenge to further develop my skills and knowledge
Interested in exploring different industries and gaining diverse experience
Seeking opportunities for career advancement and professional growth
Apritude test and coding test
1 hour duration, related financial crisis
Easy for developer work on quant reasoning and verbal for aptitude round
Easy to medium level questions for coding round
posted on 2 Sep 2021
I applied via Campus Placement and was interviewed before Sep 2020. There was 1 interview round.
based on 1 interview
Interview experience
Junior Engineer
176
salaries
| ₹2 L/yr - ₹4.8 L/yr |
Senior Engineer
168
salaries
| ₹4.4 L/yr - ₹11.6 L/yr |
Civil Engineer
168
salaries
| ₹2.2 L/yr - ₹9 L/yr |
Civil Site Engineer
149
salaries
| ₹2 L/yr - ₹6.4 L/yr |
Junior Engineer Civil
111
salaries
| ₹2 L/yr - ₹5 L/yr |
Larsen & Toubro Limited
Tata Projects
L&T Construction
Kalpataru Projects International