ACKO
30+ NEC Software Solutions Interview Questions and Answers
Q1. Flip Equivalent Binary Tree Problem
Determine whether two binary trees, given by their roots 'ROOT1' and 'ROOT2', are flip equivalent. A tree can be transformed into a flip equivalent through any number of flip...read more
The problem is to determine if two binary trees are flip equivalent after performing flip operations on one of the trees.
Perform a depth-first search (DFS) on both trees simultaneously
At each node, check if the values are equal and the left and right subtrees are either both null or both not null
If the above conditions are met, recursively check the flip equivalence of the left and right subtrees
If any of the conditions fail at any node, the trees are not flip equivalent
Q2. Ninja and Alternating Largest Problem Statement
Ninja is given a sequence of numbers and needs to rearrange them so that every second element is greater than its neighbors on both sides.
Example:
Input:
[1, 2, ...read more
The task is to rearrange the given array such that every second element is greater than its left and right element.
Iterate through the array and check if every second element is greater than its left and right element
If not, swap the current element with its adjacent element to satisfy the condition
Continue this process until the entire array satisfies the condition
Return 1 if the array satisfies the condition, else return 0
Q3. Split Array Into Increasing Subsequences Problem Statement
You are provided with an integer array ARR
of size N
sorted in ascending order. Your task is to determine if it is possible to split this array into on...read more
The task is to determine if an integer array can be split into one or more increasing subsequences with a length of at least 3.
Check if the array can be split into increasing subsequences by iterating through the array.
Keep track of the current subsequence and its length while iterating.
If the difference between the current element and the previous element is not 1, start a new subsequence.
If the length of any subsequence is less than 3, return 0.
If all subsequences have a le...read more
Q4. Matrix Chain Multiplication Problem Statement
You are provided with a chain of matrices A1, A2, A3, ..., An. The goal is to determine the minimum number of scalar multiplications needed to multiply these matric...read more
Q5. Move Zeros to Left Problem Statement
Your task is to rearrange a given array ARR
such that all zero elements appear at the beginning, followed by non-zero elements, while maintaining the relative order of non-z...read more
Q6. Maximum Sum of Disjoint Pairs with Specific Difference
Given an array of integers and a number K
, your task is to form pairs of elements from the array such that the absolute difference between them is strictly...read more
Q7. Move Zeros To Left
You are provided an array ARR
of integers. Your task is to rearrange this array such that all elements with zero values are moved to the left, and all non-zero elements follow them, preservin...read more
Q8. Delete a Node from a Linked List
You are provided with a linked list of integers. Your task is to implement a function that deletes a node located at a specified position 'POS'.
Input:
The first line contains a...read more
Q9. Find All Pairs Adding Up to Target
Given an array of integers ARR
of length N
and an integer Target
, your task is to return all pairs of elements such that they add up to the Target
.
Input:
The first line conta...read more
Q10. Rat in a Maze Problem Statement
Given a maze of size N * N
with a rat placed at the top-left corner, find and print all possible paths that the rat can take to reach the bottom-right corner. The rat can move le...read more
Q11. Binary Tree Diameter Problem Statement
You are given a Binary Tree, and you need to determine the length of the diameter of the tree.
The diameter of a binary tree is the length of the longest path between any ...read more
Q12. Increasing Subsegment Problem Statement
Given a sequence ARR
consisting of N
integers, your task is to identify the longest subsegment of ARR
, where you can change at most one number to make the subsegment stri...read more
Q13. Polynomial Simplification Problem Statement
You are provided with two arrays representing the coefficients and degrees of a polynomial expression. Your task is to simplify this polynomial into its general form ...read more
Q14. Can you chalk down a plan for employee engagement for all kind of employees
Yes
Conduct regular employee surveys to gather feedback and identify areas for improvement
Implement a recognition and rewards program to acknowledge and appreciate employee contributions
Provide opportunities for professional development and growth through training programs and workshops
Promote open communication and transparency within the organization
Organize team-building activities and events to foster a sense of camaraderie
Offer flexible work arrangements and benefits to s...read more
Q15. What are the effective approaches in operations to improve customer experience?
Effective approaches in operations to improve customer experience include streamlining processes, implementing technology, and focusing on employee training.
Streamline processes to reduce wait times and improve efficiency
Implement technology such as self-service kiosks or online ordering systems
Focus on employee training to ensure consistent and high-quality service
Collect and analyze customer feedback to make data-driven improvements
Personalize the customer experience throug...read more
Q16. What is the best organizational culture for employee orientation initiatives, in your opinion?
A supportive and inclusive organizational culture is best for employee orientation initiatives.
Encourage open communication and feedback between new employees and management.
Provide mentorship programs to help new employees acclimate to the company culture.
Promote teamwork and collaboration among employees to foster a sense of belonging.
Celebrate diversity and inclusion to create a welcoming environment for all employees.
Q17. Do you know what's the difference between Intranet and website?
Intranet is a private network for internal communication within an organization, while a website is a public platform accessible to anyone with an internet connection.
Intranet is accessible only within an organization, while a website is accessible to anyone with an internet connection.
Intranet is used for internal communication, sharing of information and resources within an organization, while a website is used for public communication and sharing of information.
Intranet is...read more
Q18. How proficient are you with designing tools and which ones
I am proficient in using various designing tools such as Adobe Photoshop, Illustrator, and Sketch.
Proficient in Adobe Photoshop, Illustrator, and Sketch
Experience in creating visually appealing designs
Knowledge of design principles and best practices
Ability to work with different file formats and export options
Q19. Have You Handles Serious Customer Escalations
Yes, I have successfully handled serious customer escalations by listening to their concerns, empathizing with their situation, and finding a satisfactory resolution.
Active listening to understand the root cause of the escalation
Showing empathy towards the customer's situation
Offering a solution that meets the customer's needs and expectations
Following up to ensure the issue has been resolved to the customer's satisfaction
Q21. what is Bloc and its uses?
Bloc is a state management library for Flutter that helps manage the flow of data and events.
Bloc stands for Business Logic Component.
It helps separate the presentation layer from the business logic.
Bloc is commonly used with Flutter to handle state management and data flow.
It uses streams to handle asynchronous data and events.
Bloc pattern consists of events, states, and a bloc class to handle the business logic.
Q22. Multiple of big integers and find complexity
Question about finding complexity of multiplying big integers.
Big integers require more memory and processing power than regular integers.
Multiplying two n-digit integers takes O(n^2) time using the standard algorithm.
There are faster algorithms like Karatsuba and FFT which have lower complexity.
The complexity of multiplying two n-digit integers using Karatsuba algorithm is O(n^log2(3)).
The complexity of multiplying two n-digit integers using FFT algorithm is O(n*log(n)).
Q23. Array question find 1st repeated element in o(n).
Find the first repeated element in an array of strings in O(n) time complexity.
Create a hash table to store the frequency of each element.
Traverse the array and check if the element is already present in the hash table.
If it is present, return the element as the first repeated element.
If no element is repeated, return null or -1.
Example: ['apple', 'banana', 'orange', 'apple'] => 'apple'
Q24. How to approach a data set
Approach a data set by first understanding the context and purpose, then cleaning and organizing the data, analyzing it using appropriate tools and techniques, and finally interpreting the results to draw meaningful insights.
Understand the context and purpose of the data set before diving in.
Clean and organize the data by removing duplicates, handling missing values, and standardizing formats.
Use appropriate tools and techniques for analysis, such as statistical methods or ma...read more
Q25. Willing to be in rotational and night shift
Yes, I am willing to work in rotational and night shifts.
I am flexible with my schedule and can adapt to different shifts
I understand the importance of providing customer service 24/7
I have previous experience working in rotational or night shifts
I am willing to work weekends and holidays if required
Q26. Different types of state management
State management is a crucial aspect of app development to handle and update the state of the application.
Local State Management: Managing state within a widget using setState() method.
InheritedWidget: Sharing state across the widget tree using InheritedWidget.
Provider: A popular state management solution that uses InheritedWidget under the hood.
Redux: A predictable state container for managing the state of the app.
Bloc: A state management solution that uses streams and sinks...read more
Q27. what is stateless
Stateless refers to a widget in Flutter that does not have any mutable state.
Stateless widgets are immutable and their properties cannot change once they are initialized.
They are used for UI components that do not need to update or change based on user interactions.
Examples include static text labels, icons, and buttons that do not change appearance.
Stateless widgets are more efficient than stateful widgets as they do not need to manage state changes.
Q28. Simple Tree Traversal Problem LC medium
Given a binary tree, return the inorder traversal of its nodes' values.
Inorder traversal: left subtree, root, right subtree
Use recursion to traverse the tree
Implement a stack-based iterative solution for better space complexity
Q29. What you know about insurance
Insurance is a financial product that provides protection against financial losses.
Insurance is a contract between an individual or organization and an insurance company, where the individual or organization pays a premium in exchange for coverage against specified risks.
Types of insurance include health insurance, life insurance, auto insurance, home insurance, and more.
Insurance policies outline the terms and conditions of coverage, including what is covered, the premium am...read more
Q30. lifecycle of stateful widget
Stateful widgets in Flutter have a lifecycle that includes various methods being called at different stages.
Stateful widgets have methods like initState(), didChangeDependencies(), build(), and dispose() that are called at different points in the widget's lifecycle.
initState() is called when the widget is inserted into the tree, didChangeDependencies() is called when the widget's dependencies change, build() is called to build the widget's UI, and dispose() is called when the...read more
Q31. Sort Numbers with large file
Use external sorting algorithm like merge sort to efficiently sort numbers in a large file.
Break the large file into smaller chunks that can fit into memory
Sort each chunk individually using a sorting algorithm like merge sort
Merge the sorted chunks back together to get the final sorted result
Q32. Logical pricing structure
A logical pricing structure ensures that prices are set in a way that is fair, competitive, and profitable for the business.
Consider the cost of goods or services, including materials, labor, and overhead expenses
Analyze the market and competitors to determine a competitive price point
Factor in desired profit margins while also considering customer willingness to pay
Implement pricing strategies such as cost-plus pricing, value-based pricing, or dynamic pricing
Regularly review...read more
Q33. What is ORM?
Q34. Design instagram for kids
A kid-friendly version of Instagram with enhanced safety features and parental controls.
Implement strict age verification processes to ensure only kids can create accounts
Enable parents to monitor and approve all friend requests and messages
Restrict access to certain content and features deemed inappropriate for children
Include educational and creative tools to encourage positive interactions
Q35. What is insurance?
Insurance is a financial product that provides protection against financial losses resulting from unexpected events.
Insurance involves a contract between an individual or entity (the policyholder) and an insurance company.
The policyholder pays a premium in exchange for coverage and protection against specified risks.
Types of insurance include health, life, auto, home, and business insurance.
Insurance helps individuals and businesses manage risk and protect themselves financia...read more
Q36. Design Parking Lot
Design a parking lot system with multiple levels and spots for cars.
Create a class for ParkingLot with attributes like levels, spots per level, etc.
Implement methods for parking a car, removing a car, checking availability, etc.
Consider implementing a ticketing system for tracking parked cars.
Utilize data structures like arrays, lists, or maps to manage parking spots efficiently.
Q37. Implement drag and drop
Implementing drag and drop functionality in UI development.
Use HTML5 drag and drop API
Add 'draggable' attribute to elements you want to drag
Implement 'dragstart', 'dragover', 'drop' events
Use CSS to style dragged elements
Consider using libraries like jQuery UI for more complex drag and drop interactions
Q38. Different strategies for ORM?
Q39. Claims process under motor
Claims process under motor involves filing a claim for damages or injuries resulting from a motor vehicle accident.
Contact insurance company to report the accident
Provide necessary documentation such as police report and photos of the damage
Insurance adjuster assesses the damage and determines coverage
Repair or replace the vehicle based on the insurance coverage
Settle any medical claims for injuries sustained in the accident
More about working at ACKO
Top HR Questions asked in NEC Software Solutions
Interview Process at NEC Software Solutions
Top Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month