i
Globant
Filter interviews by
I applied via Naukri.com and was interviewed in Aug 2024. There was 1 interview round.
Structs are value types and passed by value, while classes are reference types and passed by reference.
Structs are used for small, simple data types like coordinates or colors.
Classes are used for more complex data types that require inheritance or reference semantics.
Structs are copied when passed around, while classes are passed by reference.
Structs are stack allocated, while classes are heap allocated.
Answers to questions related to IOS development concepts.
Delegate and protocol are used for communication between objects in IOS. Delegate is a design pattern that allows one object to send messages to another object when a specific event occurs. Protocol is a set of methods that a class can implement to provide a specific behavior.
MVC is a design pattern used in IOS development. It separates the application into three...
MVC is a design pattern that separates an application into three interconnected components: Model, View, and Controller.
Model represents the data and business logic of the application
View is responsible for displaying the data to the user
Controller acts as an intermediary between the Model and View, handling user input and updating the Model and View accordingly
MVC promotes separation of concerns and modularity, making...
I applied via Approached by Company and was interviewed in Oct 2024. There were 2 interview rounds.
Write a program to print first and last letters of words alternatively from am list
OOPs stands for Object-Oriented Programming. It is based on four main pillars: Inheritance, Encapsulation, Abstraction, and Polymorphism.
Inheritance: Allows a class to inherit properties and behavior from another class. Example: class B extends class A.
Encapsulation: Bundling data and methods that operate on the data into a single unit. Example: using private access modifiers to restrict access to certain data.
Abstract...
I applied via Company Website and was interviewed in May 2024. There were 2 interview rounds.
Data structure - tree and linkedlist questions asked, binary search tree
Synchronizing threads in Android can be achieved using synchronization blocks or methods.
Use synchronized keyword to create a synchronized block or method
Use locks such as ReentrantLock for more complex synchronization needs
Consider using synchronized collections like ConcurrentHashMap for thread-safe data structures
The answer to the question is provided below.
To create an API flow, start by identifying the endpoints and their functionalities.
Design the UI and UX testing by using appropriate design patterns like MVC or MVVM.
Implement the API calls and handle the responses using networking libraries like Alamofire.
Use XCTest or UI Testing frameworks for automated UI and UX testing.
Mock the API responses for testing purposes using t...
The flow of API implementation can be designed using design patterns and unit testing.
Identify the design patterns suitable for the API implementation
Create a flow diagram to visualize the steps involved
Implement the API using the chosen design patterns
Write unit tests to ensure the functionality and reliability of the API
Refactor and optimize the code as needed
The design pattern for API flow involves defining the structure and sequence of API calls.
Identify the required API endpoints and their parameters
Determine the order and dependencies of API calls
Handle error scenarios and implement error handling mechanisms
Consider authentication and authorization requirements
Implement data caching and request throttling if necessary
View Model Scope determines whether a ViewModel should be scoped to an activity or a fragment.
View Model scoped to activity: shared between all fragments within the activity
View Model scoped to fragment: specific to that fragment only
Use activity scope for data shared across fragments, fragment scope for fragment-specific data
I applied via Approached by Company and was interviewed in Dec 2022. There were 5 interview rounds.
Find the 2nd largest element in an array of strings.
Sort the array in descending order
Access the element at index 1 to get the 2nd largest element
To get the top view of a binary tree, we need to find the nodes that are visible when looking at the tree from the top.
Start from the root node and assign it a horizontal distance of 0.
Traverse the tree using a queue and keep track of the horizontal distance of each node.
For each horizontal distance, only keep the node with the smallest level in the result.
Repeat the process for left and right child nodes, updating the
NotificationCenter is a system that enables communication between different parts of an application.
NotificationCenter allows components of an application to communicate without having direct references to each other.
It uses the observer pattern where objects register themselves as observers for specific notifications.
Notifications can be posted to the NotificationCenter with optional data.
Observers can then receive an...
Design a Twitter feed using SOLID principles
Separate classes for each responsibility (Single Responsibility Principle)
Use interfaces to define behavior and allow for easy swapping of implementations (Open/Closed Principle)
Dependency Injection to decouple components and make testing easier (Dependency Inversion Principle)
Liskov Substitution Principle to ensure derived classes can be substituted for their base classes wi...
Find the first occurrence of a given number in a sorted array.
Use binary search to efficiently find the first occurrence of the number.
Keep track of the index of the first occurrence as you search through the array.
Return the index of the first occurrence once found.
based on 2 interviews
Interview experience
based on 1 review
Rating in categories
Senior Software Engineer
1.6k
salaries
| ₹10 L/yr - ₹33 L/yr |
Software Engineer
291
salaries
| ₹6 L/yr - ₹21 L/yr |
Automation Test Engineer
239
salaries
| ₹6.3 L/yr - ₹25 L/yr |
Technical Lead
233
salaries
| ₹16.1 L/yr - ₹39 L/yr |
Senior Automation Test Engineer
209
salaries
| ₹9.5 L/yr - ₹28.6 L/yr |
Accenture
TCS
Infosys
Wipro