Add office photos
Employer?
Claim Account for FREE

Uber

4.2
based on 804 Reviews
Proud winner of ABECA 2024 - AmbitionBox Employee Choice Awards
Filter interviews by

10+ Optimistic Green Energy Interview Questions and Answers

Updated 2 Aug 2024
Popular Designations
Q1. K-Palindrome

You are given a string ‘str’. You need to find out whether the string is a K-Palindrome or not.

A string is called a K-Palindrome if, after removing at most ‘k’ characters from the string, it can be...read more

Add your answer
Q2. Boolean Matrix

Given a 2-dimensional boolean matrix mat of size N x M, modify the matrix such that if an element is 1, set its entire row and column to 1 i.e. if mat[i][j] = 1, then make all the elements of the ...read more

Add your answer
Q3. Kth Largest Element in an Array

You are given an array consisting of 'N' distinct positive integers and a number 'K'. Your task is to find the kth largest element in the array.

Example:
Consider the array {2,1,5...read more
Add your answer
Q4. Minimum time required to rot all oranges

You have been given a grid containing some oranges. Each cell of this grid has one of the three integers values:

  • Value 0 - representing an empty cell.
  • Value 1 - repres...read more
  • Add your answer
    Discover Optimistic Green Energy interview dos and don'ts from real experiences
    Q5. k-th node from the end of the linked list

    Given the head node of the singly linked list and an integer ‘k’, , find the value at the kth node from the end of the linked list.

    For example:

    Linked List

    For the above-linked li...read more
    Add your answer
    Q6. System Design Question

    How to stream an image such that all clients see the same image at the same time? You need to take care of delays, network problems. He kept on adding new elements like compression, stream...read more

    Add your answer
    Are these interview questions helpful?
    Q7. Connect n ropes with minimum cost

    You have been given 'N' ropes of different lengths, we need to connect these ropes into one rope. The cost to connect two ropes is equal to sum of their lengths. We need to conn...read more

    Add your answer

    Q8. Given a 2d matrix with some D doors and W walls, we need fill distance matrix with minimum distance to the nearest door

    Ans.

    Given a 2D matrix with doors and walls, fill distance matrix with minimum distance to the nearest door.

    • Iterate through the matrix and find the doors

    • Use Breadth-First Search (BFS) to calculate the minimum distance from each cell to the nearest door

    • Update the distance matrix with the minimum distances

    Add your answer
    Share interview questions and help millions of jobseekers 🌟

    Q9. Given a read-only array we want to find kth smallest element in unordered array with O(1) space

    Ans.

    Find kth smallest element in unordered array with O(1) space

    • Use the QuickSelect algorithm to partition the array and find the kth smallest element

    • Choose a pivot element and partition the array into two subarrays

    • Recursively partition the subarray that contains the kth smallest element

    • Repeat until the pivot element is the kth smallest element

    • Time complexity: O(n) average case, O(n^2) worst case

    Add your answer
    Q10. System Design Question

    Design Uber

    Add your answer

    Q11. Build Netflix architecture

    Ans.

    Netflix architecture is a scalable microservices-based system with a focus on high availability and performance.

    • Use microservices architecture to break down the system into smaller, independent services

    • Implement a content delivery network (CDN) for efficient content distribution

    • Utilize cloud services like AWS for scalability and reliability

    • Implement a recommendation engine for personalized content suggestions

    • Use a distributed database like Cassandra for storing user data and ...read more

    Add your answer

    More about working at Uber

    Top Rated Internet/Product Company - 2024
    HQ - San Francisco,California, United States
    Contribute & help others!
    Write a review
    Share interview
    Contribute salary
    Add office photos

    Interview Process at Optimistic Green Energy

    based on 7 interviews in the last 1 year
    1 Interview rounds
    Coding Test Round
    View more
    Interview Tips & Stories
    Ace your next interview with expert advice and inspiring stories

    Top Software Engineer Interview Questions from Similar Companies

    3.7
     • 126 Interview Questions
    3.6
     • 78 Interview Questions
    4.1
     • 16 Interview Questions
    4.2
     • 11 Interview Questions
    3.9
     • 10 Interview Questions
    View all
    Share an Interview
    Stay ahead in your career. Get AmbitionBox app
    qr-code
    Helping over 1 Crore job seekers every month in choosing their right fit company
    70 Lakh+

    Reviews

    5 Lakh+

    Interviews

    4 Crore+

    Salaries

    1 Cr+

    Users/Month

    Contribute to help millions
    Get AmbitionBox app

    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