Add office photos
Oportun logo
Engaged Employer

Oportun

Verified
3.6
based on 23 Reviews
Filter interviews by
Clear (1)

Oportun Senior Software Engineer Interview Questions and Answers

Updated 8 Dec 2024

Q1. Life cycle of angular

Ans.

Angular has a life cycle consisting of several phases that a component goes through from creation to destruction.

  • Angular components go through several life cycle hooks such as ngOnInit, ngOnDestroy, etc.

  • ngOnInit is called after the component has been initialized and its data-bound properties have been checked.

  • ngOnDestroy is called just before the component is destroyed.

  • Other life cycle hooks include ngOnChanges, ngDoCheck, ngAfterContentInit, ngAfterContentChecked, ngAfterVie...read more

Add your answer
right arrow

Q2. DP on Stock buy n sell

Ans.

Implement a dynamic programming solution for stock buy and sell problem.

  • Use dynamic programming to find the maximum profit by buying and selling stocks.

  • Keep track of the minimum stock price seen so far and update the maximum profit accordingly.

  • Consider edge cases like no profit or negative profit.

  • Example: Input [7, 1, 5, 3, 6, 4], Output 5 (buy at 1, sell at 6)

Add your answer
right arrow

Q3. CAP Theorem explanation wanted

Ans.

CAP Theorem states that in a distributed system, it is impossible to simultaneously achieve consistency, availability, and partition tolerance.

  • Consistency: All nodes in the system have the same data at the same time.

  • Availability: Every request gets a response, even if some nodes are down.

  • Partition Tolerance: The system continues to operate despite network partitions.

  • Examples: MongoDB prioritizes consistency and partition tolerance, while Cassandra prioritizes availability and...read more

Add your answer
right arrow

Q4. Dynamo db working style

Ans.

DynamoDB is a fully managed NoSQL database service provided by AWS, designed for high performance and scalability.

  • DynamoDB is schema-less, allowing for flexible data models

  • It offers high availability and durability through replication and automatic backups

  • DynamoDB uses primary keys for data retrieval, with optional secondary indexes for querying

  • It supports ACID transactions for consistency and reliability

  • DynamoDB is designed for low-latency and high-throughput applications

Add your answer
right arrow
Discover Oportun interview dos and don'ts from real experiences

Q5. Java 8 stream setup

Ans.

Java 8 stream setup involves creating a stream from a collection or array and applying operations like filter, map, and reduce.

  • Create a stream from a collection using stream() method

  • Apply operations like filter, map, and reduce to process elements

  • Use terminal operations like collect or forEach to get the final result

Add your answer
right arrow

Q6. Function vs method

Ans.

A function is a standalone block of code that can be called independently, while a method is a function that is associated with a class or object.

  • Functions are standalone blocks of code, while methods are functions associated with classes or objects.

  • Functions can be called independently, while methods are called on specific instances of classes or objects.

  • Functions are defined outside of classes, while methods are defined within classes.

  • Example: function calculateArea() { ......read more

Add your answer
right arrow

More about working at Oportun

Back
HQ - San Carlos, California, United States of America
Contribute & help others!
Write a review
Write a review
Share interview
Share interview
Contribute salary
Contribute salary
Add office photos
Add office photos

Interview Process at Oportun Senior Software Engineer

based on 6 interviews
Interview experience
3.8
Good
View more
interview tips and stories logo
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Senior Software Engineer Interview Questions from Similar Companies

View all
Recently Viewed
PHOTOS
Growisto
7 office photos
JOBS
GroundTruth
33 jobs
JOBS
Browse jobs
Discover jobs you love
JOBS
Gushwork
14 jobs
INTERVIEWS
Amazon
No Interviews
INTERVIEWS
Schneider Electric
No Interviews
JOBS
Priority Technology Holdings
No Jobs
SALARIES
Ericsson
REVIEWS
Ericsson
No Reviews
SALARIES
Ericsson
Share an Interview
Stay ahead in your career. Get AmbitionBox app
play-icon
play-icon
qr-code
Helping over 1 Crore job seekers every month in choosing their right fit company
75 Lakh+

Reviews

5 Lakh+

Interviews

4 Crore+

Salaries

1 Cr+

Users/Month

Contribute to help millions

Made with ❤️ in India. Trademarks belong to their respective owners. All rights reserved © 2024 Info Edge (India) Ltd.

Follow us
  • Youtube
  • Instagram
  • LinkedIn
  • Facebook
  • Twitter