HERE Technologies
20+ Interview Questions and Answers
Q1. Java 8 features? What is functional interface? Difference between Runnable and Callable? Write java8 syntax in notepad? Mainly interviewer was focusing that how much syntax I know, which is not at all good. The...
read moreJava 8 introduced new features like lambda expressions, functional interfaces, and streams. Functional interfaces have a single abstract method. Runnable is a functional interface for running a task in a separate thread, while Callable is a functional interface that can return a result and throw checked exceptions.
Java 8 introduced lambda expressions for writing concise code.
Functional interfaces have a single abstract method, such as Runnable or Callable.
Runnable is a functi...read more
Q2. High level system design for newspaper
A newspaper application system design involves components like user interface, content management, user authentication, and data storage.
User interface for reading articles and viewing images/videos
Content management system for publishing articles, managing categories, and scheduling posts
User authentication system for login, registration, and profile management
Data storage for storing articles, images, user data, and analytics
Q3. Design bookmyshow like application. how will you handle the scenario if two people try to book the same seat at the same time?
Q4. Optimisation techniques
Optimisation techniques are methods used to improve the efficiency and performance of software applications.
Use of algorithms like dynamic programming to reduce time complexity
Utilizing data structures like hash tables for faster data retrieval
Implementing caching mechanisms to store frequently accessed data
Profiling and analyzing code to identify bottlenecks and optimize them
Q5. Given two arrays of integers, find the one extra element in second array ? Eg. int[] arr1 = [1,3,7,8]; int[] arr2 = [3,8,7,9,1];
Loop through both arrays and use a hashmap to store frequency of elements, then find the extra element.
Loop through both arrays and store frequency of elements in a hashmap
Compare the frequency of elements in both arrays to find the extra element
Return the extra element found in the second array
Q6. Internal working of hashmap
HashMap is a data structure that stores key-value pairs and uses hashing to retrieve values quickly.
Hashing function is used to convert keys into array indices
Collisions can occur when multiple keys hash to the same index
HashMap uses linked lists or binary trees to handle collisions
Retrieving a value involves hashing the key to find the index and then traversing the linked list or tree
Insertion and deletion involve similar steps
HashMap can dynamically resize to maintain a goo...read more
Q7. way of Mutable object creation
Mutable objects in Python can be created using various methods such as assignment, copy, or using built-in functions like dict() or list().
Assignment operator can be used to create mutable objects, for example: x = [1, 2, 3]
Copying an existing mutable object using the copy() method or slicing can create a new mutable object
Using built-in functions like dict() or list() to create mutable objects
Q8. How would you create a map
A map can be created using geographic data and software tools to visualize locations and their relationships.
Gather geographic data such as coordinates, boundaries, and landmarks
Use mapping software like Google Maps, ArcGIS, or Mapbox to input and visualize the data
Customize the map with labels, colors, and markers to enhance readability
Consider the audience and purpose of the map to determine the level of detail and interactivity needed
Q9. You have a list of numbers, now using stream api calculate the sum of all integers in a list ?
Use stream api to calculate sum of integers in a list.
Use stream() method on the list to create a stream of elements.
Use mapToInt() method to convert each element to an integer.
Use sum() method to calculate the sum of all integers.
Q10. How would you react on certain conditions
I would react calmly and assess the situation before taking appropriate action.
Remain calm and composed
Assess the situation
Take appropriate action based on the conditions
Q11. tell output of code
The code will output 'Hello World!'
The code is a simple print statement
It will output the string 'Hello World!'
Q12. How will you design architecture for the product?
I will design a scalable and modular architecture that meets the product requirements.
Identify the key components and their interactions
Consider scalability and performance requirements
Use design patterns like MVC or microservices
Ensure security and data privacy measures are in place
Document the architecture for future reference
Q13. Detect Linked list cycle
Detect cycle in a linked list using Floyd's Tortoise and Hare algorithm
Use two pointers, slow and fast, to traverse the linked list
If there is a cycle, the fast pointer will eventually meet the slow pointer
Time complexity is O(n) and space complexity is O(1)
Q14. design travel app database
Design a database for a travel app to store user information, bookings, reviews, and destinations.
Create tables for users, bookings, reviews, and destinations
Include columns for user details, booking information, review ratings, and destination details
Establish relationships between tables using foreign keys
Consider indexing commonly queried fields for faster retrieval
Implement data validation to ensure data integrity
Q15. How to identify the circles collided
To identify circles collided, check if the sum of their radii is greater than the distance between their centers.
Calculate the distance between the centers of the two circles using the distance formula
Add the radii of the two circles
If the sum of the radii is greater than or equal to the distance between the centers, the circles have collided
Q16. Your role in requirement gathering processes
I actively participate in requirement gathering processes by collaborating with stakeholders to understand needs and constraints.
Collaborate with stakeholders to identify project requirements
Analyze and document requirements accurately
Ensure requirements are feasible and align with project goals
Communicate effectively with team members and stakeholders
Q17. Tell about devops
DevOps is a software development methodology that combines software development (Dev) with IT operations (Ops) to shorten the systems development life cycle.
DevOps focuses on collaboration, automation, and integration between developers and IT operations teams.
It aims to improve the speed and quality of software delivery by breaking down silos and promoting continuous delivery.
Tools commonly used in DevOps include Jenkins, Docker, Ansible, and Kubernetes.
DevOps practices incl...read more
Q18. Tell us about organizatio
Q19. Explain singleton design pattern
Singleton design pattern ensures a class has only one instance and provides a global point of access to it.
Ensures a class has only one instance by providing a global access point to it
Uses a private constructor to restrict instantiation of the class
Provides a static method to access the single instance
Commonly used in scenarios where only one instance of a class is needed, such as database connections or configuration settings
Q20. What is ur name
My name is John Smith.
My first name is John
My last name is Smith
Q21. what is oops concept
OOPs (Object-Oriented Programming) is a programming paradigm based on the concept of objects, which can contain data in the form of fields and code in the form of procedures.
OOPs focuses on creating objects that interact with each other to solve a problem.
Key concepts include encapsulation, inheritance, polymorphism, and abstraction.
Encapsulation involves bundling data and methods that operate on the data into a single unit.
Inheritance allows a class to inherit properties and...read more
More about working at HERE Technologies
Top HR Questions asked in null
Interview Process at null
Top Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month