Lead Electrical Engineer Interview Questions

4,418 lead electrical engineer interview questions shared by candidates

1. Consider the following Transaction class: package com.personetics.entities; import java.util.Date; public class Transaction { String id; String accountId; Double amount; Date date; public String getId() { return id; } public void setId(String id) { this.id = id; } public String getAccountId() { return accountId; } public void setAccountId(String accountId) { this.accountId = accountId; } public Double getAmount() { return amount; } public void setAmount(Double amount) { this.amount = amount; } public Date getDate() { return date; } public void setDate(Date date) { this.date = date; } } Design a data structure that gets as input a collection of Transaction objects from the last 6 months and supports the following methods in runtime complexity of O(1): ? insert(Transaction transaction) ? Double getAvg() ? Returns the average amount of all transactions. ? List getTransactionsOfMonthForAccount(int month, String accountI
avatar

Senior Electrical Engineer

Interviewed at Intel Corporation

3.9
Mar 7, 2022

1. Consider the following Transaction class: package com.personetics.entities; import java.util.Date; public class Transaction { String id; String accountId; Double amount; Date date; public String getId() { return id; } public void setId(String id) { this.id = id; } public String getAccountId() { return accountId; } public void setAccountId(String accountId) { this.accountId = accountId; } public Double getAmount() { return amount; } public void setAmount(Double amount) { this.amount = amount; } public Date getDate() { return date; } public void setDate(Date date) { this.date = date; } } Design a data structure that gets as input a collection of Transaction objects from the last 6 months and supports the following methods in runtime complexity of O(1): ? insert(Transaction transaction) ? Double getAvg() ? Returns the average amount of all transactions. ? List getTransactionsOfMonthForAccount(int month, String accountI

Just prepare well enough with examples and past experiences for the 20-30 behavioral questions they will ask you. When answering technical questions use common sense and good reasoning they want to see how you process info and get to a solution.
avatar

Facilities Electrical Engineer

Interviewed at Intel Corporation

3.9
Mar 17, 2013

Just prepare well enough with examples and past experiences for the 20-30 behavioral questions they will ask you. When answering technical questions use common sense and good reasoning they want to see how you process info and get to a solution.

Viewing 4351 - 4360 interview questions

Glassdoor has 4,418 interview questions and reports from Lead electrical engineer interviews. Prepare for your interview. Get hired. Love your job.