Filter interviews by
Top trending discussions
posted on 20 Jul 2021
I applied via Recruitment Consultant and was interviewed before Jul 2020. There were 5 interview rounds.
I applied via Naukri.com and was interviewed in Aug 2020. There were 3 interview rounds.
To check palindrome and anagram of a string with O(n), use a hash table to store character frequencies.
Create a hash table to store the frequency of each character in the string.
For palindrome, check that no more than one character has an odd frequency.
For anagram, compare the hash tables of the two strings.
If the hash tables are equal, the strings are anagrams.
If the hash tables differ by only one character, the strin...
Optimized solutions and core principles applied in OOPS
Encapsulation, Inheritance, Polymorphism, Abstraction are core principles of OOPS
Optimized solutions can be achieved through efficient algorithms and data structures
Design patterns like Singleton, Factory, Observer can also be used for optimized solutions
I appeared for an interview before May 2021.
Round duration - 45 Minutes
Round difficulty - Hard
Given an integer array 'ARR' of size 'N' containing numbers from 0 to (N - 2). Each number appears at least once, and there is one number that appears twice. Yo...
Find the duplicate number in an integer array containing numbers from 0 to (N - 2).
Iterate through the array and keep track of the frequency of each number using a hashmap.
Return the number that appears twice in the array.
The duplicate number is always present in the given array.
Round duration - 50 Minutes
Round difficulty - Easy
Sort an unsorted array of non-negative integers using the Bubble Sort algorithm, which swaps adjacent elements if they are not in the correct order to sort the array in non-d...
Bubble Sort is used to sort an array of non-negative integers in non-decreasing order by swapping adjacent elements if they are not in the correct order.
Iterate through the array and compare adjacent elements, swapping them if they are in the wrong order.
Repeat this process until the array is sorted in non-decreasing order.
Time complexity of Bubble Sort is O(n^2) in worst case.
Example: For input [6, 2, 8, 4, 10], the o
Round duration - 60 Minutes
Round difficulty - Medium
You are tasked with finding the shortest path between two houses in the city of Ninjaland, represented as an unweighted graph. The city has N
houses numbered from 1 ...
Find the shortest path between two houses in a city represented as an unweighted graph.
Use breadth-first search (BFS) algorithm to find the shortest path in an unweighted graph.
Start BFS from the source house and keep track of the shortest path to each house.
Once the destination house is reached, backtrack to find the shortest path.
Consider using a queue data structure to implement BFS efficiently.
Round duration - 60 Minutes
Round difficulty - Easy
Tip 1 : online resources
Tip 2 : cracking the coding interview by Gayle laykemann this is one of the best book for learning the concept at the initial level. Start practicing the approaches mention in the book once done apply the same to similar level pattern questions.
Tip 3 : geeks for geeks start from school level and then move towards easy medium and hard once done practice the previous year questions
Tip 1 : precise clear concise and well written
Tip 2 : mentions the skills sets along with the projects
posted on 29 Oct 2021
I applied via Recruitment Consultant and was interviewed before Oct 2020. There were 3 interview rounds.
I appeared for an interview before Nov 2020.
Round duration - 90 minutes
Round difficulty - Medium
It was in the evening at about 7 pm. The test platform was quite user friendly and easy to use.
There were 3 sections in test. One was logical ability, second was english, third was coding
Questions were of medium difficulty.
Given an infinite supply of coins of varying denominations, determine the total number of ways to make change for a specified value using these coins. If it's not possible to make...
The task is to find the total number of ways to make change for a specified value using given denominations.
Use dynamic programming to solve this problem efficiently.
Create a 1D array to store the number of ways to make change for each value from 0 to the target value.
Iterate through the denominations and update the array based on the current denomination.
The final answer will be the value at the target index of the ar
Round duration - 30 Minutes
Round difficulty - Medium
It was a 30 minute interview. In which I was provided with questions on data structures and algorithms to check my problem solving skills.
Given an integer array ARR
of size N
, determine if it can be transformed into a non-decreasing array by modifying at most one element.
An array is defined as non-de...
Determine if an array can be transformed into a non-decreasing array by modifying at most one element.
Iterate through the array and check if there are more than one decreasing elements.
If there is only one decreasing element, check if modifying it can make the array non-decreasing.
Return true if the array can be made non-decreasing by modifying at most one element, otherwise false.
Round duration - 40 Minutes
Round difficulty - Medium
In this round , interviewer discussed about my resume. As I had done a internship in sql and database so he asked me questions related to dbms and sql queries.
Tip 1 : practice data structures and algorithms thoroughly
Tip 2 : do atleast 2 project
Tip 3 : maintain a decent cgpa (above 8.5)
Tip 1 : write all your academic achievements on resume
Tip 2 : do not write false things in resume
Tip 3 : be thorough with your resume
Find an odd occurring number among even occurring numbers.
Use XOR operation to cancel out even occurring numbers and get the odd occurring number.
Iterate through the array and XOR each element with the result variable.
The final result will be the odd occurring number.
Print the spiral order of a binary tree and matrix.
For binary tree, use level order traversal and alternate direction for each level.
For matrix, use four pointers to traverse in spiral order.
Example for binary tree: 1 -> 2 -> 3 -> 4 -> 5 -> 6 -> 7 -> 8 -> 9
Example for matrix: 1 2 3 4 -> 8 7 6 5 -> 9 10 11 12 -> 16 15 14 13
Finding pairs in an array with a given sum.
Iterate through the array and for each element, check if the difference between the given sum and the element exists in the array.
Use a hash table to store the elements of the array and their indices for faster lookup.
If there are multiple pairs with the same sum, return any one of them.
If no pair is found, return null or an empty array.
Find total number of k element with given avg in an array in minimum time complexity.
Use sliding window technique to traverse the array in O(n) time complexity.
Maintain a sum variable to keep track of the sum of elements in the window.
If the sum of elements in the window is equal to k times the given avg, increment the count.
Move the window by subtracting the first element and adding the next element in the array.
Printing non-boundary elements of a binary tree
Traverse the tree in any order (preorder, inorder, postorder)
Check if the current node is not a boundary node (not the first or last node in its level)
If it is not a boundary node, print its value
Recursively traverse its left and right subtrees
posted on 4 May 2017
I appeared for an interview in Dec 2016.
Experienced sales professional with a proven track record of exceeding targets and building strong client relationships.
Over 5 years of sales experience in the consumer goods industry
Consistently met or exceeded sales targets by 20% each quarter
Built and maintained strong relationships with key clients such as Walmart and Target
Led a team of sales representatives to increase market share by 15% in one year
I have mentioned my experience in leading sales teams, developing strategies, and exceeding sales targets.
Led a team of 10 sales representatives to achieve a 20% increase in sales revenue within one year
Developed and implemented a new sales strategy that resulted in a 30% growth in market share
Consistently exceeded sales targets by 15% through effective sales planning and execution
I interned at a marketing firm where I assisted the sales team in developing strategies and analyzing market trends.
Assisted sales team in developing marketing strategies
Analyzed market trends to identify potential opportunities
Participated in client meetings to understand their needs and preferences
SBI Cards is a good place to work for due to its strong brand reputation, growth opportunities, and employee-friendly policies.
Strong brand reputation in the financial industry
Opportunities for career growth and advancement
Employee-friendly policies and benefits
Supportive work environment and team collaboration
Commitment to innovation and technology-driven solutions
I was responsible for managing a team of sales representatives and achieving sales targets in my assigned territory.
Managed a team of sales representatives
Set and achieved sales targets in assigned territory
Developed and implemented sales strategies
Provided training and support to team members
Maintained relationships with key clients
Seeking new challenges and growth opportunities.
Desire for career advancement
Limited growth opportunities in previous company
Seeking new challenges and responsibilities
To retain customers for SBI cards, conduct a survey to understand their needs and preferences, offer personalized rewards and benefits, provide excellent customer service, and continuously engage with customers through targeted marketing campaigns.
Conduct a survey to gather feedback and understand customer needs
Offer personalized rewards and benefits based on customer spending patterns
Provide excellent customer service...
My favorite subject is psychology because I am fascinated by the human mind and behavior.
I enjoy learning about different psychological theories and concepts
I find it interesting to analyze human behavior and understand the reasons behind it
I am intrigued by the impact of mental health on individuals and society
The 4 P's of marketing are Product, Price, Place, and Promotion. The most important P depends on the specific context and goals of the business.
Product: Refers to the goods or services being offered by a company. It includes the features, quality, design, and packaging.
Price: Refers to the amount customers are willing to pay for the product. It should be set in a way that covers costs and generates profit.
Place: Refers...
I have strong leadership skills demonstrated through my ability to motivate and inspire teams to achieve goals.
I have experience in leading teams in previous roles
I am able to communicate effectively and provide clear direction
I am skilled at problem-solving and conflict resolution
I prioritize team development and mentorship
Yes, I am okay with the job location as it is convenient for me.
I have no issues with the job location
I am familiar with the area and have no problem commuting
The job location is convenient for me
posted on 20 May 2017
I appeared for an interview in May 2017.
Yes, the string class can be extended in most programming languages.
Inheritance can be used to extend the functionality of the string class.
By creating a new class that inherits from the string class, additional methods and properties can be added.
Extending the string class allows for customization and adding specific functionality to strings.
Example: In Python, the string class can be extended by creating a new class
Implicit objects in JSP are predefined objects that are available for use without any declaration or initialization.
Implicit objects in JSP include request, response, session, application, out, config, pageContext, page, exception, and others.
These objects provide access to various aspects of the JSP environment and can be used to perform common tasks.
For example, the request object allows access to HTTP request parame...
A hash map is a data structure that uses a hash function to map keys to values.
Hash map stores key-value pairs
It uses a hash function to compute an index for each key
Collisions can occur when two keys hash to the same index
Hash maps provide fast access to values based on their keys
StringBuffer and StringBuilder are both used to manipulate strings, but StringBuffer is thread-safe while StringBuilder is not.
StringBuffer is synchronized, making it safe for use in multi-threaded environments.
StringBuilder is not synchronized, making it faster but not thread-safe.
StringBuffer is preferred when multiple threads are involved, while StringBuilder is preferred for single-threaded scenarios.
Both classes p...
MVC is a software architectural pattern that separates an application into three main components: Model, View, and Controller.
Model represents the data and business logic of the application.
View is responsible for displaying the user interface.
Controller handles user input, updates the model, and interacts with the view.
MVC promotes separation of concerns and modularity in software development.
Example: In a web applica...
Annotations used in RESTful web services
1. @Path - Specifies the URI path for the resource
2. @GET - Specifies that the method handles HTTP GET requests
3. @POST - Specifies that the method handles HTTP POST requests
4. @PUT - Specifies that the method handles HTTP PUT requests
5. @DELETE - Specifies that the method handles HTTP DELETE requests
6. @PathParam - Binds the value of a URI template parameter to a method paramete...
Software Engineer
43
salaries
| ₹10.7 L/yr - ₹26 L/yr |
Software Developer
39
salaries
| ₹4 L/yr - ₹12.2 L/yr |
Product Manager
20
salaries
| ₹8.9 L/yr - ₹31 L/yr |
Front end Developer
18
salaries
| ₹1 L/yr - ₹5 L/yr |
Consultant
17
salaries
| ₹12 L/yr - ₹36 L/yr |
HSBC Group
Cholamandalam Investment & Finance
Citicorp
BNY