MagicBricks
30+ JSC Golla Engineering Interview Questions and Answers
Q1. Sort 0 1 2 Problem Statement
Given an integer array arr
of size 'N' containing only 0s, 1s, and 2s, write an algorithm to sort the array.
Input:
The first line contains an integer 'T' representing the number of...read more
Sort an integer array containing only 0s, 1s, and 2s in linear time complexity.
Use three pointers to keep track of the positions of 0s, 1s, and 2s in the array.
Iterate through the array and swap elements based on the values encountered.
Achieve sorting in a single scan over the array without using any extra space.
Q2. Cycle Detection in a Singly Linked List
Determine if a given singly linked list of integers forms a cycle or not.
A cycle in a linked list occurs when a node's next
points back to a previous node in the list. T...read more
Detect if a singly linked list forms a cycle by checking if a node's next points back to a previous node.
Traverse the linked list using two pointers, one moving one step at a time and the other moving two steps at a time.
If the two pointers meet at any point, there is a cycle in the linked list.
If one of the pointers reaches the end of the list (null), there is no cycle.
Q3. N Queens Problem
Given an integer N
, find all possible placements of N
queens on an N x N
chessboard such that no two queens threaten each other.
Explanation:
A queen can attack another queen if they are in the...read more
The N Queens Problem involves finding all possible placements of N queens on an N x N chessboard where no two queens threaten each other.
Use backtracking algorithm to explore all possible configurations.
Keep track of rows, columns, and diagonals to ensure queens do not attack each other.
Generate and print valid configurations where queens are placed safely.
Consider constraints and time limit for efficient solution.
Example: For N=4, valid configurations are: 0010100000101000 a...read more
Q4. Balanced Parentheses Combinations
Given an integer N
representing the number of pairs of parentheses, find all the possible combinations of balanced parentheses using the given number of pairs.
Explanation:
Con...read more
Generate all possible combinations of balanced parentheses for a given number of pairs.
Use recursion to generate all possible combinations of balanced parentheses.
Keep track of the number of open and close parentheses used in each combination.
Return the valid combinations as an array of strings.
Q5. Ninja and Substrings Problem Statement
Ninja has to determine all the distinct substrings of size two that can be formed from a given string 'STR' comprising only lowercase alphabetic characters. These substrin...read more
Find all unique contiguous substrings of size two from a given string.
Iterate through the string and extract substrings of size two
Use a set to store unique substrings
Return the set as an array of strings
Q6. What Do you know about Real estate Industry?
Real estate industry involves buying, selling, and renting properties for residential or commercial purposes.
Real estate industry is a crucial part of the economy
It involves various professionals such as real estate agents, brokers, appraisers, and property managers
The industry is affected by factors such as interest rates, economic conditions, and government policies
Real estate can be classified into residential, commercial, industrial, and agricultural properties
Examples of...read more
Q7. What Do you know about Space Selling or Degital Marketing?
Space selling or digital marketing refers to the process of selling advertising space on digital platforms to businesses.
It involves creating and executing digital marketing campaigns to promote products or services
It includes various techniques such as search engine optimization (SEO), social media marketing, email marketing, and content marketing
Space selling involves selling advertising space on digital platforms such as websites, mobile apps, and social media platforms
It ...read more
Q8. How magicbricks is better than other portal
magicbricks offers a wider range of property listings, advanced search options, and verified listings compared to other portals.
magicbricks has a larger database of property listings, providing more options for buyers and renters.
The portal offers advanced search filters, making it easier for users to find properties that meet their specific criteria.
magicbricks verifies property listings to ensure authenticity and reduce the risk of fraud for users.
The platform also provides...read more
Q9. Tell me the difference between Semantic and Nonsemantic elements
Semantic elements provide meaning to the content, while nonsemantic elements are used for styling purposes only.
Semantic elements have a clear meaning and purpose in the code, making it easier for search engines and screen readers to understand the content.
Nonsemantic elements are used purely for styling purposes and do not provide any additional meaning to the content.
Examples of semantic elements include <header>, <footer>, <article>, <nav>, <section>, while examples of non...read more
Q10. How will you convince me to buy MB
I will highlight the unique features and benefits of MB, provide personalized solutions, offer competitive pricing, and ensure exceptional customer service.
Highlight the unique features and benefits of MB, such as its advanced technology, reliability, and performance.
Provide personalized solutions tailored to the customer's specific needs and preferences.
Offer competitive pricing compared to similar products in the market.
Ensure exceptional customer service throughout the buy...read more
Q11. What do you know about real estate market
Real estate market refers to the buying and selling of properties, influenced by factors like location, economy, and demand.
Real estate market is influenced by factors such as location, economy, and demand
Market trends can vary based on region and type of property
Investors often look at factors like interest rates and housing supply
Q12. Guesstimate - Number of shampoo sold in India
Approximately 1.5 billion bottles of shampoo are sold in India annually.
India has a population of over 1.3 billion people, with a large percentage using shampoo regularly.
Assuming an average person uses one bottle of shampoo per month, the estimated number of bottles sold annually is around 1.5 billion.
Factors such as income levels, hair type, and cultural practices may affect the usage of shampoo in different regions of India.
Q13. Longest substring with non repeating characters
Find the longest substring in a given string that does not contain any repeating characters.
Use a sliding window approach to iterate through the string.
Keep track of the characters seen so far using a set.
Update the start and end indices of the window to find the longest substring.
Return the length of the longest substring.
Q14. How to pitch for a sale?
To pitch for a sale, understand the customer's needs, present a solution, and address any objections.
Research the customer and their industry to understand their pain points and needs.
Present a solution that meets their specific needs and highlights the benefits.
Address any objections or concerns the customer may have.
Close the sale by asking for their business and following up with next steps.
Use persuasive language and active listening skills to build rapport and trust with...read more
Q15. Would you be able to audit 35 calls per day?
Yes, I am confident in my ability to audit 35 calls per day.
I have experience auditing a high volume of calls in my previous role.
I am organized and efficient in my work process.
I am dedicated to ensuring quality and accuracy in my audits.
I am confident in my ability to meet the daily target of 35 calls.
Q16. How will you justify ROI for builders
By demonstrating how our services can increase efficiency, reduce costs, and improve overall project outcomes.
Showcase case studies of past projects where our services led to higher profits for builders
Highlight the potential cost savings from using our services compared to traditional methods
Emphasize the improved project timelines and quality that result from working with us
Q17. what is string eplain that code
A string is a sequence of characters used to represent text.
Strings are typically enclosed in quotation marks
Strings can contain letters, numbers, symbols, and spaces
Strings can be manipulated using various string functions
Q18. what is array how type of array
An array is a data structure that stores a collection of elements of the same type in a contiguous memory location.
Arrays can be of different types such as integer arrays, float arrays, or string arrays.
Example: string[] names = {"Alice", "Bob", "Charlie"};
Arrays in most programming languages are zero-indexed, meaning the first element is at index 0.
Arrays allow for efficient access and manipulation of elements based on their index.
Q19. How would you generate new leads
I would generate new leads by utilizing a combination of digital marketing strategies, networking events, and targeted outreach campaigns.
Utilize social media platforms to engage with potential leads and drive traffic to the company website
Attend industry conferences and networking events to establish connections with potential clients
Implement email marketing campaigns to reach out to prospects and nurture leads
Utilize search engine optimization (SEO) strategies to improve v...read more
Q20. How you contribute in growth of MB
I contribute to the growth of MB by implementing strategic category management initiatives and driving sales through effective product assortment.
Developing and executing category strategies to drive sales and increase market share
Analyzing market trends and consumer behavior to identify growth opportunities
Collaborating with cross-functional teams to optimize product assortment and pricing
Negotiating with suppliers to secure favorable terms and improve margins
Implementing pr...read more
Q21. Applications of various data structures.
Data structures are used in various applications like search algorithms, storage systems, and graph algorithms.
Search algorithms like binary search use arrays and trees for efficient searching.
Storage systems use data structures like hash tables and linked lists for organizing and accessing data.
Graph algorithms like Dijkstra's algorithm use graphs and trees for solving complex problems.
Q22. Show how to sell a product
Selling a product involves understanding customer needs, highlighting product benefits, and closing the deal.
Understand the customer's needs and pain points
Highlight the unique features and benefits of the product
Address any objections or concerns the customer may have
Create a sense of urgency or scarcity to encourage a purchase
Close the deal by asking for the sale
Q23. what is ai in our life
AI plays a significant role in our daily lives, from virtual assistants to personalized recommendations.
AI powers virtual assistants like Siri, Alexa, and Google Assistant.
AI algorithms are used for personalized recommendations on platforms like Netflix and Amazon.
AI is utilized in autonomous vehicles for self-driving capabilities.
AI is used in healthcare for medical imaging analysis and drug discovery.
Q24. What do you know about MB
MB is a company that specializes in manufacturing and selling luxury vehicles.
MB stands for Mercedes-Benz, a German automobile manufacturer
The company produces a range of luxury vehicles including cars, buses, and trucks
Mercedes-Benz is known for its innovative technology and safety features
The company has a global presence with production facilities and sales offices in various countries
Mercedes-Benz is a subsidiary of Daimler AG
Q25. Sales strategy to show
Develop a sales strategy that focuses on building relationships, understanding customer needs, and providing personalized solutions.
Identify target market and ideal customer profile
Build relationships with potential clients through networking and follow-ups
Understand customer needs and pain points to tailor solutions
Provide personalized solutions that address specific customer challenges
Utilize data and analytics to track performance and adjust strategy accordingly
Q26. what is useref in react
useRef is a hook in React that allows you to create a mutable ref object.
useRef is used to access DOM nodes or store mutable values that persist across renders.
It can be used to focus an input field, measure the size of an element, or store previous values.
Example: const inputRef = useRef(null);
Q27. Trees bagging vs boosting
Trees bagging and boosting are ensemble learning techniques that use multiple decision trees, but with different approaches.
Bagging (Bootstrap Aggregating) involves training multiple decision trees independently on different subsets of the training data and then averaging the predictions. Examples include Random Forest.
Boosting involves training multiple decision trees sequentially, with each tree correcting the errors of its predecessor. Examples include AdaBoost and Gradien...read more
Q28. 3- Sale this cabin ?
This cabin is a perfect getaway for nature lovers with its serene surroundings and cozy interiors.
The cabin is located in a secluded area surrounded by lush greenery.
The interiors are designed to provide a warm and comfortable stay.
The cabin is equipped with modern amenities like a fireplace, kitchen, and bathroom.
The surrounding area offers various outdoor activities like hiking, fishing, and camping.
The cabin is perfect for those who want to escape the hustle and bustle of ...read more
Q29. Why Magicbricks
Magicbricks is the leading online real estate platform in India.
Magicbricks has a vast database of properties and agents, making it easy for customers to find their desired property.
The platform offers various tools and features to help customers make informed decisions, such as property valuation, locality insights, and legal advice.
Magicbricks has a user-friendly interface and provides excellent customer support.
The platform has a strong reputation and is trusted by million...read more
Q30. React in deep and project
React is a JavaScript library for building user interfaces, commonly used in web development projects.
React is a declarative, efficient, and flexible JavaScript library for building user interfaces.
It allows developers to create reusable UI components that can be easily composed to build complex user interfaces.
React uses a virtual DOM to improve performance by only updating the parts of the actual DOM that have changed.
React can be used to build single-page applications, pro...read more
Q31. Launch modes on android
Launch modes on Android determine how a new instance of an activity is associated with the current task.
Standard: Creates a new instance of the activity in the task's stack
SingleTop: If an instance of the activity already exists at the top of the stack, it will not be recreated
SingleTask: Activity is always at the root of the task and no other activities can be on top of it
SingleInstance: Similar to SingleTask, but the activity is launched in a new task
Top HR Questions asked in JSC Golla Engineering
Interview Process at JSC Golla Engineering
Top Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month