i
ZeMoSo
Technologies
Filter interviews by
I appeared for an interview before Feb 2023.
Finding the least common ancestor of two nodes in a tree
Use a method like Lowest Common Ancestor (LCA) to find the least common ancestor of two nodes in a tree
Traverse the tree to find the paths from the root to each node, then compare the paths to find the LCA
Consider edge cases like when one node is the ancestor of the other or when one of the nodes is not in the tree
Structure in C++ is a user-defined data type that allows grouping of variables of different data types under a single name.
Structures are used to create complex data types by grouping variables together.
They can contain variables of different data types.
Structures are defined using the 'struct' keyword.
Example: struct Person { string name; int age; };
Example: Person p1;
SQL queries are used to interact with databases, allowing for data retrieval, manipulation, and management.
SQL stands for Structured Query Language, used for managing relational databases.
Basic SQL commands include SELECT, INSERT, UPDATE, DELETE.
Example of SELECT: SELECT * FROM users; retrieves all records from the 'users' table.
Example of INSERT: INSERT INTO users (name, age) VALUES ('Alice', 30); adds a new user.
Exam...
I appeared for an interview in Nov 2021.
Round duration - 45 minutes
Round difficulty - Easy
There were around 20 mcq's on Aptitude.
1 Coding Question
Given an array ARR
of size N
, your objective is to determine the sum of the largest and smallest elements within the array.
Can you achie...
Find sum of maximum and minimum elements in an array with least number of comparisons.
Iterate through the array and compare elements in pairs to find maximum and minimum simultaneously.
Keep track of current maximum and minimum as you iterate through the array.
After iterating through the array, sum up the maximum and minimum found.
Example: For input [1, 3, 5, 7, 9], compare 1 with 3, 5 with 7, and 3 with 9 to find min a...
Round duration - 60 minutes
Round difficulty - Easy
Create a data structure that maintains mappings between keys and values, supporting the following operations in constant time:
1. INSERT(key, value): Add or update t...
Design a constant time data structure for key-value mappings with operations like INSERT, DELETE, SEARCH, GET, GET_SIZE, and IS_EMPTY.
Use a hash table to store key-value pairs for constant time operations.
Implement INSERT by hashing the key and storing the value at the corresponding index.
For DELETE, simply remove the key-value pair from the hash table.
SEARCH can be done by checking if the key exists in the hash table.
...
Tip 1 : Prepare OOPS Concepts
Tip 2 : Build good knowledge in Data Structure and Algorithms.
Tip 3 : Practice SQL queries.
Tip 1 : Do not put false things on resume
Tip 2 : Mention atleast 2 projects.
Top trending discussions
I applied via Walk-in and was interviewed before Mar 2021. There were 3 interview rounds.
Aptitude test
Current affairs
posted on 15 Jul 2022
I applied via Referral and was interviewed before Jul 2021. There were 3 interview rounds.
If you are a fresher , then this is for you else almost no coding test for experienced candidates.
posted on 21 May 2021
posted on 20 May 2021
I applied via Referral and was interviewed in Nov 2020. There were 4 interview rounds.
posted on 16 Sep 2021
I appeared for an interview before Sep 2020.
Round duration - 60 mins
Round difficulty - Medium
Given a railway seat number represented as an integer, determine if it is a valid seat number and identify its berth type. Possible berth types include lower berth, middle...
Given a railway seat number, determine if it is valid and identify its berth type.
Parse input integer 't' for number of test cases
For each test case, check if seat number is valid (1 <= N <= 100)
Identify berth type based on seat number and output the result
Possible berth types are Lower, Middle, Upper, Side Lower, and Side Upper
Round duration - 90 mins
Round difficulty - Hard
First they asked me to introduce myself then they started questioning on oops concept from basic to advance level such as inheritance, polymorphism, abstraction, exception handling , STL etc. Next they started questioning on data structures. They asked me the logic of “how to find the middle of a linked list”.
You are provided with a square matrix. Your task is to return true
if the matrix is symmetric; otherwise, return false
.
A symmetric matrix is characterized by its transpose being eq...
Check if a square matrix is symmetric by comparing it with its transpose.
Iterate through the matrix and compare each element with its corresponding element in the transpose
If any pair of elements do not match, return false immediately
If all pairs match, return true at the end
Tip 1 : Clear the basic concepts of data structure and OOPs.
Tip 2 : Use coding ninja platform and Hackerearth for practice on coding skills.
Tip 3 : Use Geeks For Geeks for interview preparation.
Tip 1: Make your resume short and try to make it of one page only.
Tip 2: Add relevant keywords
I applied via Recruitment Consultant and was interviewed in Feb 2021. There were 3 interview rounds.
SOLID principles are a set of five design principles for writing maintainable and scalable code.
Single Responsibility Principle (SRP) - a class should have only one reason to change
Open-Closed Principle (OCP) - a class should be open for extension but closed for modification
Liskov Substitution Principle (LSP) - a subclass should be able to replace its parent class without affecting the system's behavior
Interface Segreg...
Ref and out are both used for passing arguments by reference in C#. Ref is bidirectional while out is unidirectional.
Ref and out are used to pass arguments by reference instead of by value
Ref is used for both input and output parameters while out is only used for output parameters
Ref requires the variable to be initialized before passing while out does not
Example: void MyMethod(ref int x) { x = x + 1; } and void MyMeth...
REST APIs are a way to interact with web services. Popular status codes include 200, 404, and 500.
REST APIs allow clients to access and manipulate resources on a server using HTTP requests
Common HTTP methods used in REST APIs include GET, POST, PUT, and DELETE
Status codes indicate the success or failure of a request, with 2xx codes indicating success and 4xx/5xx codes indicating errors
Some popular status codes include ...
Memory management in C# involves automatic garbage collection and the use of pointers.
C# uses a garbage collector to automatically manage memory allocation and deallocation.
Developers can use pointers to directly manipulate memory, but this is not recommended.
C# also provides tools for managing memory usage, such as the IDisposable interface and the using statement.
Microservices, cloud-native, and serverless are the latest architectural trends in C#.
Microservices architecture is gaining popularity due to its scalability and flexibility.
Cloud-native architecture focuses on building applications that are optimized for cloud environments.
Serverless architecture allows developers to focus on writing code without worrying about infrastructure management.
Other trends include containeri...
Both .NET Core and Framework are used for developing Windows applications, but Core is cross-platform and lightweight.
Core is open-source and modular, while Framework is a monolithic framework
Core has better performance and scalability than Framework
Core supports microservices architecture, while Framework does not
Core has a smaller footprint and can be deployed as a single executable
Framework has better backward compa...
Major advancements in .NET Core include improved performance, cross-platform compatibility, and enhanced security features.
Improved performance through the use of Span
Cross-platform compatibility with support for Linux and macOS
Enhanced security features such as runtime code generation and data protection
Introduction of .NET Core 3.0 with support for Windows Desktop applications
Integration with ...
I applied via Approached by Company and was interviewed in Jan 2024. There were 3 interview rounds.
It was mostly on JavaScript
based on 1 interview experience
Difficulty level
Duration
based on 3 reviews
Rating in categories
Senior Software Engineer
93
salaries
| ₹15 L/yr - ₹26 L/yr |
Software Engineer III
59
salaries
| ₹10.9 L/yr - ₹16.7 L/yr |
Associate Software Engineer
46
salaries
| ₹6.8 L/yr - ₹7.3 L/yr |
Software Engineer
44
salaries
| ₹6.9 L/yr - ₹20 L/yr |
Senior Software Engineer 1
39
salaries
| ₹9.2 L/yr - ₹27 L/yr |
Medcode
Cyfuture
Maxgen Technologies
JoulestoWatts Business Solutions