i
Sapiens
Filter interviews by
I applied via Naukri.com and was interviewed in Oct 2023. There were 4 interview rounds.
It was an online assessment
I applied via Naukri.com and was interviewed in Jan 2023. There were 2 interview rounds.
OOPS concepts are fundamental principles in object-oriented programming.
Encapsulation: bundling data and methods together in a class
Inheritance: creating new classes from existing ones
Polymorphism: using a single interface to represent different types
Abstraction: hiding unnecessary details and exposing only essential features
Encapsulation example: a class with private variables and public methods
Inheritance example: a ...
Shallow copy creates a new reference to the original object, while deep copy creates a new object with its own copy of the data.
Shallow copy only copies the references of the original object's data, not the actual data itself.
Deep copy creates a new object and recursively copies all the data from the original object.
Shallow copy is faster and more memory-efficient, but changes to the copied data will affect the origina...
I appeared for an interview before Apr 2023.
User stories of a hotel management system
I applied via Naukri.com and was interviewed in Apr 2020. There were 5 interview rounds.
I appeared for an interview before Sep 2020.
Round duration - 90 Minutes
Round difficulty - Medium
It was an online technical round. There were around 20 MCQs and two coding questions. The round had an login window of 30 minutes. One coding question was of the level leetcode medium and the other was leetcode hard.
You are given an N * N matrix of integers where each row and each column is sorted in increasing order. Your task is to find the positi...
Given a sorted N * N matrix, find the position of a target integer X.
Iterate over each row and column to search for the target integer
Utilize the sorted nature of the matrix to optimize the search process
Return the position of the target integer if found, else return -1 -1
Given an integer N
, your task is to determine the count of integers between 1 and N
(inclusive) that are coprime to N
.
The first line contains an intege...
Euler's Totient Function calculates count of integers coprime to N between 1 and N.
Implement Euler's Totient Function to calculate count of coprime integers to N.
Use the formula: phi(N) = N * (1 - 1/p1) * (1 - 1/p2) * ... * (1 - 1/pk) where p1, p2, ..., pk are prime factors of N.
Example: For N = 9, phi(9) = 9 * (1 - 1/3) = 6.
Round duration - 60 Minutes
Round difficulty - Medium
It was a technical + HR round. The interview panel consisted of two technical guys and one person from HR.
Given an array of strings ARRSTR[]
of size N
, and a character C
, your task is to sort the ARRSTR[]
array according to a new alphabetical order that starts with the ...
Sort an array of strings based on a new alphabetical order starting with a given character.
Iterate through the array of strings and compare each string with the given character to determine the new order.
Implement a custom comparator function to sort the strings based on the new alphabetical order.
Use built-in sorting functions in programming languages like Python, Java, or C++ to efficiently sort the array.
The pillars of OOP are Inheritance, Encapsulation, Abstraction, and Polymorphism.
Inheritance allows a class to inherit properties and behavior from another class.
Encapsulation restricts access to certain components of an object, protecting its integrity.
Abstraction hides complex implementation details and only shows the necessary features.
Polymorphism allows objects to be treated as instances of their parent class, ena
Tip 1 : Practice questions on CP platforms such as codechef and codeforces. It will greatly help you for clearing coding round.
Tip 2 : Make notes of theory Subjects. It will greatly help you in last minute preparation.
Tip 3 : Go through the interview experience of the company before hand.
Tip 4 : Practice questions by narrating the explaination. Else it gets very difficult to both explain and code at the same time of interview.
Tip 1 : Never lie on the resume. If you are not confident about something dont add it.
Tip 2 : Have atleast 2 projects on resume.
Tip 3 : Dont make it colourful. Follow any formal standard template.
Tip 4 : Add links to the project or your work if possible.
Tip 5 : Have only one Page. Dont write stories.
I appeared for an interview in Aug 2016.
posted on 19 Aug 2016
I am a software developer with experience in Java and Python.
Proficient in Java and Python programming languages
Experience in developing web applications using Spring framework
Familiarity with database management systems such as MySQL and MongoDB
I have achieved success in developing and implementing various software solutions.
Developed a web application that increased user engagement by 30%
Implemented a new feature that reduced system downtime by 50%
Created a mobile app that received 4.5-star rating on app stores
Led a team of developers to successfully complete a project within a tight deadline
I work on a variety of projects ranging from web development to mobile app development.
Web development using HTML, CSS, JavaScript, and various frameworks such as React and Angular
Mobile app development for iOS and Android using Swift, Kotlin, and React Native
Database design and management using SQL and NoSQL databases such as MySQL and MongoDB
API development and integration using REST and GraphQL
Machine learning proje...
A hardworker puts in more effort, while a smartworker works efficiently and effectively.
A hardworker may spend more time on a task, while a smartworker finds ways to complete it faster.
A hardworker may rely on brute force, while a smartworker uses their skills and knowledge to solve problems.
A hardworker may struggle with prioritization, while a smartworker knows how to focus on the most important tasks.
A hardworker ma...
Zuckerberg is in news due to Facebook's handling of user data and misinformation.
Facebook's role in the 2016 US Presidential election
Cambridge Analytica scandal
Testimony before US Congress
Ongoing debate on social media regulation
I am a software developer with experience in Java and Python.
I have a Bachelor's degree in Computer Science.
I have worked on various projects involving web development and data analysis.
I am proficient in Java and Python programming languages.
I am a quick learner and enjoy working in a team environment.
My favorite project is the e-commerce website I developed for a local business.
I enjoyed working on the front-end design and user experience.
I implemented a secure payment gateway and order tracking system.
The website increased the business's online sales by 50%.
I received positive feedback from the client and their customers.
Inheritance is a mechanism in object-oriented programming where a new class is created by inheriting properties of an existing class.
Inheritance allows code reuse and promotes code organization.
The existing class is called the parent or superclass, and the new class is called the child or subclass.
The child class inherits all the properties and methods of the parent class and can also add its own unique properties and ...
finally is a keyword used in try-catch block, finalize is a method in Object class, and final is a keyword used for declaring constants.
finally is used to execute a block of code after try-catch block
finalize is called by garbage collector before destroying an object
final is used to declare a constant variable or to make a class uninheritable
Private keyword restricts access to member functions within the class while final keyword prevents overriding of functions.
Private keyword is used to hide the implementation details of a class from the user.
Final keyword is used to prevent the user from overriding a function in a subclass.
Using private and final keywords together can ensure that the implementation details of a class are not modified by the user.
An interface defines a set of methods that a class must implement.
An interface is declared using the 'interface' keyword.
All methods in an interface are public and abstract by default.
A class can implement multiple interfaces.
Interfaces can also extend other interfaces.
Example: public interface MyInterface { void myMethod(); }
Abstract class is a class with some implementation while Interface is a contract with no implementation.
Abstract class can have constructors while Interface cannot
Abstract class can have non-abstract methods while Interface cannot
A class can implement multiple interfaces but can only inherit from one abstract class
Abstract class is used when there is a need for common functionality among related classes while Interface...
Inheritance types in Java
Java supports single and multiple inheritance through classes and interfaces respectively
Single inheritance is when a class extends only one parent class
Multiple inheritance is when a class implements multiple interfaces
Java also supports hierarchical inheritance where multiple classes extend a single parent class
Java does not support multiple inheritance through classes to avoid the diamond pr
Order of catch blocks in a try block in Java
Specific catch blocks should come before general catch blocks
If general catch block comes before specific catch block, it will result in a compile-time error
If multiple catch blocks are present, only the first matching catch block will be executed
Garbage collection is an automatic memory management process that frees up memory occupied by objects that are no longer in use.
Garbage collection is used in programming languages like Java, C#, and Python.
It helps prevent memory leaks and reduces the risk of crashes due to memory exhaustion.
Garbage collection works by identifying objects that are no longer in use and freeing up the memory they occupy.
There are differe...
Code for connecting a Java application to a database
Import the JDBC driver for the specific database
Create a connection object using the DriverManager class
Create a statement object to execute SQL queries
Execute the query and retrieve the results
Close the connection and release resources
JSON stands for JavaScript Object Notation, a lightweight data interchange format.
JSON is used to transmit data between a server and a web application, as an alternative to XML.
It is easy to read and write for humans and easy to parse and generate for machines.
JSON is a text format that is completely language independent but uses conventions that are familiar to programmers of the C family of languages.
Example: {"name"
based on 3 interviews
Interview experience
based on 18 reviews
Rating in categories
Software Developer
265
salaries
| ₹5.4 L/yr - ₹18 L/yr |
Quality Analyst
249
salaries
| ₹4.9 L/yr - ₹14 L/yr |
Senior Quality Analyst
224
salaries
| ₹6.2 L/yr - ₹20.1 L/yr |
Business Analyst
168
salaries
| ₹6.5 L/yr - ₹23 L/yr |
Developer
156
salaries
| ₹7 L/yr - ₹19 L/yr |
Thomson Reuters
Oracle Cerner
Chetu
R Systems International