Walmart
300+ G2 Technology Solutions Interview Questions and Answers
Q101. Why we can't use arrow function in constructor
Arrow functions do not have their own 'this' value, which is required in constructors.
Arrow functions do not have a 'this' binding, so 'this' will refer to the parent scope.
Constructors require 'this' to refer to the newly created object.
Using arrow functions in constructors can lead to unexpected behavior and errors.
Q102. Round 1 : DSA: 1)print all pairs with a target sum in an array (with frequency of elements). 2) Array to BST. 3) Top view of Binary Tree. 4) Minimum number of jumps to reach the end of an array
DSA questions on array and binary tree manipulation
For printing pairs with target sum, use a hash table to store frequency of elements and check if complement exists
For converting array to BST, use binary search to find the middle element and recursively build left and right subtrees
For top view of binary tree, use a queue to traverse the tree level by level and store horizontal distance of nodes
For minimum number of jumps, use dynamic programming to find minimum jumps requir...read more
Q103. Reverse a linked list
Reverse a linked list
Iterate through the linked list and change the direction of the pointers
Use three pointers to keep track of the previous, current, and next nodes
Recursively reverse the linked list
Q104. What are potential issues with moving payroll to Successfactors EC Payroll?
Moving payroll to Successfactors EC Payroll can have potential issues.
Integration with other HR systems may be challenging
Data migration can be complex and time-consuming
Customization may be limited
Training employees on new system may be required
Costs associated with implementation and maintenance
Compliance with local laws and regulations may be difficult
Q105. What is payroll control center and details of how it specifically works?
Payroll Control Center is a tool that streamlines payroll processing and provides real-time insights into payroll data.
PCC allows for centralized management of payroll data and processes
It provides real-time visibility into payroll data and analytics
PCC can automate payroll processes and calculations
It can integrate with other HR and finance systems
PCC helps ensure compliance with payroll regulations and policies
Arrange the following time complexities from high to low: n^2, n^n, logn, nlogn, n
Q107. Static allocation in spark. 10TB of file needs to be processed in spark, what configuration (executors and cores) would you choose and why?
For processing 10TB of file in Spark, consider allocating multiple executors with sufficient cores to maximize parallel processing.
Allocate multiple executors to handle the large file size efficiently
Determine the optimal number of cores per executor based on the available resources and workload
Consider the memory requirements for each executor to avoid out-of-memory errors
Adjust the configuration based on the specific requirements of the job and cluster setup
Q108. What is trigger in SQL?
A trigger in SQL is a set of instructions that automatically executes in response to a specific event or action.
Triggers can be used to enforce business rules, audit changes, or replicate data.
They can be defined to execute before or after an INSERT, UPDATE, or DELETE statement.
Triggers can also be nested, meaning one trigger can execute another trigger.
Examples of triggers include sending an email notification when a new record is inserted, or updating a summary table when a...read more
Q109. How to communicate effectively with teams sitting in different geographies
Effective communication with geographically dispersed teams requires clear communication channels, cultural sensitivity, and regular check-ins.
Establish clear communication channels such as video conferencing, instant messaging, and email
Be sensitive to cultural differences and adapt communication style accordingly
Schedule regular check-ins to ensure everyone is on the same page and address any concerns or issues
Encourage open communication and active listening to foster coll...read more
Q110. What happens if you try to terminate an terminated employees?
Attempting to terminate an already terminated employee has no effect.
The employee's status will remain terminated.
No action will be taken by the termination process.
The terminated employee will not receive any further communication from the company regarding their employment status.
Q111. 6. What are static, final, and abstract in Java
Static, final, and abstract are keywords in Java used for different purposes.
Static is used to create variables and methods that belong to the class rather than an instance of the class.
Final is used to declare constants or to prevent a class, method, or variable from being overridden or modified.
Abstract is used to create abstract classes and methods that cannot be instantiated and must be implemented by subclasses.
Q112. Write code to find duplicate Records.
Code to find duplicate records
Identify the key columns to check for duplicates
Use GROUP BY and HAVING clauses to filter out duplicates
Consider using window functions like ROW_NUMBER() to identify and remove duplicates
Use programming languages like SQL, Python, or R to write the code
Q113. What is new code of wages and its impact on industry ?
The new code of wages is a legislation that aims to simplify and standardize wage-related regulations in India.
The code replaces four existing laws related to wages and payment of bonus.
It introduces a universal definition of wages and sets a minimum wage for all workers.
The code also mandates equal pay for men and women for the same work.
It is expected to reduce compliance costs for employers and improve transparency in wage payments.
However, some experts have raised concern...read more
Design a Railway Reservation System
Q115. How will you approach if your teams velocity is less than expected
I will analyze the reasons and work with the team to identify and implement solutions.
Analyze the reasons for low velocity
Identify the bottlenecks and roadblocks
Collaborate with the team to find solutions
Implement changes and monitor progress
Reassess and adjust as needed
Q116. How do you collate data from multiple jira boards and present to leadership
Collate data from multiple Jira boards and present to leadership
Identify the relevant Jira boards and their data requirements
Extract the data using Jira APIs or third-party tools
Combine the data into a single report or dashboard
Visualize the data using charts, graphs, or tables
Present the report to leadership with insights and recommendations
Print 1 to 100 using more than two threads(optimized approach).
AWR Report Analysis and Performance Testing
Q119. Print even and odd numbers using two threads simultaneously so it should print in sequence
Use two threads to print even and odd numbers in sequence
Create two threads, one for printing even numbers and one for printing odd numbers
Use synchronization mechanisms like mutex or semaphore to ensure numbers are printed in sequence
Start both threads simultaneously and let them print numbers alternately
Q120. difference between graph and tree?
Graph is a non-linear data structure with cycles while tree is a hierarchical data structure without cycles.
Graph can have multiple starting points and paths between nodes while tree has only one root node and unique paths between nodes.
Graph can have cycles while tree is acyclic.
Graph can be directed or undirected while tree is always directed.
Examples of graphs include social networks, road networks, and computer networks while examples of trees include file systems, organi...read more
Q121. what is difference between Employee Profile and Employee Central?
Employee Profile is a subset of Employee Central which contains personal and employment information of an employee.
Employee Central is a comprehensive HR system that includes Employee Profile as one of its modules.
Employee Profile contains basic personal and employment information of an employee such as name, contact details, job title, etc.
Employee Central includes additional modules such as Time and Attendance, Payroll, Benefits, etc.
Employee Central provides a centralized ...read more
Q122. How OLA application works. How CAB moves on map?
OLA application uses GPS to track cabs on map and assign them to customers based on location and availability.
OLA application uses GPS technology to track the location of cabs in real-time.
Customers input their location and destination in the app to request a cab.
The app matches the customer with the nearest available cab and assigns it to them.
Customers can track the cab's movement on the map in real-time as it approaches their location.
Q123. Limitations of Vlookup
Vlookup limitations include limited search range, case sensitivity, and inability to handle multiple matches.
Vlookup only searches for values in the leftmost column of the table array
It is case sensitive and cannot handle spelling errors
It only returns the first match and cannot handle multiple matches
It cannot search for values to the left of the lookup column
It can be slow and inefficient for large datasets
Q124. Linked list implementation with second largest and second smallest
Implement a linked list with methods to find the second largest and second smallest elements.
Create a linked list class with methods to insert elements, find second largest, and find second smallest.
Traverse the linked list to find the largest and smallest elements, then find the second largest and second smallest.
Handle edge cases such as empty list or lists with less than 2 elements.
Consider using a priority queue to efficiently find the second largest and second smallest e...read more
Q125. Different method to invoke methode with using constructor or variable
You can invoke a method using a constructor by creating an instance of the class and calling the method, or by using a variable that holds a reference to the method.
Invoke method using constructor: ClassName obj = new ClassName(); obj.methodName();
Invoke method using variable: ClassName obj = new ClassName(); Runnable r = obj::methodName; r.run();
Q126. Tree DSA - Implement sum tree - replace node value to the sum of all children nodes
Q127. Details of certifications and how was it prepared for
I have multiple certifications in various fields of engineering.
I have a certification in project management from PMI.
I also have a certification in Six Sigma Green Belt.
I prepared for these certifications by attending training sessions and studying the course material.
I also took practice exams to ensure I was fully prepared for the actual certification exam.
Q128. How can fragments communicate among themselves
Fragments can communicate among themselves using interfaces, shared view models, and activity callbacks.
Use interfaces to define communication contract between fragments
Implement the interface in the hosting activity and pass it to the fragments
Use shared view models to share data between fragments
Use activity callbacks like onActivityResult() to communicate between fragments
Q130. Limitations of Structural Query Language
SQL limitations include lack of scalability, security vulnerabilities, and difficulty in handling unstructured data.
SQL is not suitable for handling unstructured data like images, videos, and audio files.
It can be difficult to scale SQL databases to handle large amounts of data.
SQL databases can be vulnerable to security threats like SQL injection attacks.
SQL is not always the best choice for real-time data processing or complex analytics.
SQL can be limited in its ability to ...read more
Q131. Technical features desinetions to better understand
Technical features desinetions to better understand
Technical features refer to the specific functionalities and capabilities of a digital marketing tool or platform
They help marketers understand how the tool can be used to achieve their marketing goals
Examples of technical features include analytics tracking, A/B testing, email automation, and social media scheduling
Understanding these features is crucial for effective digital marketing strategy and campaign execution
Q132. What are the common issues faced while deploying a service to AWS?
Common issues faced while deploying a service to AWS
Configuration errors leading to service downtime
Security misconfigurations exposing sensitive data
Performance issues due to improper resource allocation
Network connectivity problems affecting service availability
Lack of monitoring and logging causing difficulties in troubleshooting
Incompatibility issues with other AWS services or third-party integrations
Q133. When do you use pivot table, vlookup, hlookup, xlookup?
Pivot table for summarizing data, vlookup for finding values in a table, hlookup for horizontal lookup, xlookup for advanced lookup.
Pivot table is used to summarize and analyze large datasets.
VLOOKUP is used to find a value in a table by row.
HLOOKUP is used to find a value in a table by column.
XLOOKUP is a more advanced version of VLOOKUP and HLOOKUP, allowing for more flexibility in searching for data.
Example: Use pivot table to summarize sales data, VLOOKUP to find a custom...read more
Q136. Design HLD and LLD of Zomato
Design HLD and LLD of Zomato
High-Level Design (HLD) should include the overall architecture of the system, including components and their interactions
Low-Level Design (LLD) should include detailed design of each component, including data structures, algorithms, and interfaces
HLD should consider scalability, availability, and fault tolerance
LLD should consider performance, security, and maintainability
Example components of Zomato system: user interface, search engine, recommen...read more
Q137. RNN,CNN and difference between these two.
RNN and CNN are neural network architectures used for different types of data.
RNN is used for sequential data like time series, text, speech, etc.
CNN is used for grid-like data like images, videos, etc.
RNN has feedback connections while CNN has convolutional layers.
RNN can handle variable length input while CNN requires fixed size input.
Both can be used for classification, regression, and generation tasks.
Q138. Design Chatbot that support 1-1 as well as group chats
Design a chatbot that supports both 1-1 and group chats
Implement a user authentication system to differentiate between 1-1 and group chats
Create separate chat rooms for group chats where multiple users can join
Include features like message notifications, file sharing, and message search functionality
Utilize natural language processing to understand and respond to user messages
Allow users to customize their chatbot settings and preferences
Q139. Can you add more events in successfactors EC?
Yes, additional events can be added in SuccessFactors EC.
Additional events can be added through the Manage Business Configuration tool.
Events can be customized to fit specific business needs.
Examples of additional events include onboarding, offboarding, and promotions.
Q140. what is bias and variance how regularization helps in reducing overfitting
Bias is error due to overly simplistic assumptions, variance is error due to sensitivity to fluctuations. Regularization helps by penalizing complex models.
Bias is error from erroneous assumptions in the learning algorithm. Variance is error from sensitivity to fluctuations in the training set.
High bias can cause underfitting, where the model is too simple to capture the underlying structure. High variance can cause overfitting, where the model is too complex and fits the noi...read more
Q141. Write a for loop in cpp to print n natural numbers without using semicolon (;)
Use recursion to print n natural numbers in C++ without semicolon.
Define a function to print natural numbers recursively.
Call the function inside main function with n as argument.
Base case: if n is less than 1, return.
Print n and call the function with n-1 as argument.
Q142. 2. write get and put methods of Java Hashamap.
The get and put methods of Java HashMap are used to retrieve and store key-value pairs respectively.
To retrieve a value from a HashMap, use the get() method and pass the key as a parameter.
To store a key-value pair in a HashMap, use the put() method and pass the key and value as parameters.
Example: HashMap
map = new HashMap<>(); map.put("apple", 5); int count = map.get("apple"); // returns 5
Q143. What is popular temple in ur village?
The popular temple in my village is the Sri Ranganathaswamy Temple.
Located in the heart of the village
Dedicated to Lord Ranganatha
Annual festivals and rituals attract devotees from neighboring villages
Q144. What would you do if a customer was not happy with their experience?
I would apologize to the customer, listen to their concerns, offer a solution, and follow up to ensure satisfaction.
Apologize to the customer for their negative experience
Listen attentively to their concerns and show empathy
Offer a solution to address their issues, such as a refund, exchange, or discount
Follow up with the customer to ensure their satisfaction and build a positive relationship
Seek feedback from the customer on how to improve future experiences
Q145. Explain a project where you used data analytics to solve a business problem
Implemented predictive analytics model to optimize inventory management for a retail company
Identified key factors affecting inventory levels such as seasonality, promotions, and supplier lead times
Utilized historical sales data to forecast demand and optimize inventory levels
Developed a predictive analytics model using machine learning algorithms to predict future sales and recommend optimal inventory levels
Implemented the model into the company's inventory management system...read more
Q146. What is AOP and how to prepare AOP
AOP stands for Annual Operating Plan. It is a detailed plan of an organization's revenue and expenses for the upcoming year.
AOP is prepared by analyzing past performance, market trends, and future goals.
It includes revenue projections, expense budgets, and capital expenditure plans.
AOP is usually prepared by the finance department in collaboration with other departments.
It is an important tool for financial planning and helps in setting targets and monitoring progress.
Example...read more
Q148. Vlookup vs Index-Match
Vlookup and Index-Match are both Excel functions used for lookup and retrieval of data.
Vlookup is simpler and faster but has limitations in terms of flexibility and handling of large datasets.
Index-Match is more versatile and can handle complex data structures but is slower and requires more effort to set up.
Vlookup is best suited for simple lookups with small datasets while Index-Match is better for more complex lookups with larger datasets.
Index-Match is also more error-res...read more
Q149. What is important role for a cashier
The important role of a cashier is to handle financial transactions accurately and efficiently.
Accurately processing cash, credit, and debit transactions
Providing excellent customer service
Maintaining a clean and organized cash register area
Balancing cash drawer at the end of each shift
Resolving customer complaints or issues
Following company policies and procedures
Upselling products or services when appropriate
Explain DHCP Protocol
Q151. How well can you manage unhappy/ unpleasant customers.
I have experience in de-escalating situations with unhappy customers by actively listening, empathizing, and finding solutions.
Active listening to understand the customer's concerns
Empathizing with the customer's emotions
Finding solutions to address the customer's issues
Remaining calm and professional throughout the interaction
Offering alternatives or compensation when appropriate
Two wire burning puzzle .
Q153. explain with an example about Lexical Scoping
Lexical scoping is a way of defining variable scope based on where they are declared in the code.
Variables declared inside a function have local scope and are not accessible outside the function.
Variables declared outside a function have global scope and can be accessed from anywhere in the code.
Nested functions can access variables declared in their parent function.
Example: function outer() { let x = 10; function inner() { console.log(x); } inner(); } outer(); // Output: 10
Q154. What do you know about catalog analyst role?
Catalog Analyst role involves managing product data, ensuring accuracy and consistency in catalogs.
Responsible for creating, updating, and maintaining product catalogs
Ensuring accuracy and consistency of product data
Analyzing catalog performance and making recommendations for improvements
Collaborating with cross-functional teams such as marketing, sales, and product development
Knowledge of data management systems and tools like Excel, SQL, or ERP systems
Q155. Design uber both rider and driver apps
Designing Uber apps for both riders and drivers
For the rider app, focus on ease of use and quick booking process
For the driver app, focus on real-time updates and navigation
Both apps should have a rating system and payment integration
Implement features like surge pricing, ride history, and in-app messaging
Q156. How many zeroes in factorial 78
There are 18 zeroes in factorial 78.
To find the number of zeroes in a factorial, we need to count the number of times 10 appears as a factor.
Since 10 = 2 x 5, we need to count the number of times 2 and 5 appear as factors.
Since there are more factors of 2 than 5 in factorial 78, we only need to count the number of times 5 appears as a factor.
We can use the formula n/5 + n/25 + n/125 + ... to count the number of times 5 appears as a factor in n!
Plugging in n = 78, we get 15 + ...read more
Q157. Number of alternate substrings in a string.
Count the number of alternate substrings in a given string.
Iterate through the string and check for alternating characters.
Keep track of the count of alternate substrings found.
Return the total count of alternate substrings.
Explain TCP/IP Protocol
Q159. Develop a Rate limiter that limits the number of http connections for a particular domain to a specific threshold in the last 5 minutes
Develop a rate limiter to limit http connections for a domain in the last 5 minutes
Use a sliding window algorithm to track the number of connections in the last 5 minutes
Maintain a data structure to store timestamps of each connection
Increment the count of connections for a domain and remove outdated timestamps
Reject connections if the count exceeds the threshold
Q160. Different data structures avaliable??
Data structures are ways of organizing and storing data in a computer so that it can be accessed and used efficiently.
Arrays
Linked Lists
Stacks
Queues
Trees
Graphs
Hash Tables
3 Ants and Triangle
Q165. Difference between standard ADSO and write optimise DSO. Why do define keys in ADSO.
Standard ADSO is for persistent storage and reporting, while write optimized DSO is for temporary storage. Keys in ADSO are used for data modeling and performance optimization.
Standard ADSO is used for persistent storage and reporting, while write optimized DSO is used for temporary storage before loading data to a standard ADSO.
Write optimized DSO does not store data persistently, making it suitable for temporary data storage during data loads.
Keys in ADSO are defined to uni...read more
Q166. Shortest path to reach a word. Modification of edit distance problem
Finding shortest path to reach a word using modification of edit distance problem
Use dynamic programming approach
Create a matrix to store the distances
Consider all possible operations - insertion, deletion, substitution
Return the minimum distance to reach the target word
Q169. React Coding to implement Stop watch with Start, Stop, Resume, Pause
Implement a React stopwatch with start, stop, resume, and pause functionalities.
Use state to track the elapsed time
Create functions for start, stop, resume, and pause actions
Use setInterval for updating the timer every second
Display the timer in the UI
Q170. Max Frequency Character in a string
Find the character with the highest frequency in a given string.
Iterate through the string and count the frequency of each character using a hashmap.
Track the character with the highest frequency as you iterate.
Return the character with the highest frequency at the end.
Q171. One program on 2-D Matrix and write various testcases for it
Program on 2-D Matrix with testcases
Create a program that performs operations on a 2-D matrix such as addition, multiplication, transpose, etc.
Write testcases to cover different scenarios like empty matrix, matrix with negative numbers, matrix with all zeros, etc.
Q172. Callback method in java and alternatives
Callback method in Java allows passing a function as an argument to another function. Alternatives include using interfaces, lambda expressions, and method references.
Callback method allows passing a function as an argument to another function
Alternatives include using interfaces, lambda expressions, and method references
Example: Using Runnable interface in Java to pass a function as a callback
Q173. Whats your availability like/ is it flexible.
I have a flexible availability and can adjust my schedule as needed.
I am available to work weekdays, weekends, and evenings.
I can easily switch shifts with advance notice.
I am open to working overtime if required.
I am willing to accommodate any scheduling needs of the company.
Q174. How components communicates in Angular
Q175. Q5. How wasthe retail company ?
The retail company was successful in expanding its market share and increasing revenue through strategic partnerships and innovative marketing campaigns.
The retail company focused on customer experience and satisfaction to drive repeat business.
Implemented data-driven decision making to optimize inventory management and pricing strategies.
Utilized social media and digital marketing to reach a wider audience and increase brand awareness.
Established partnerships with popular in...read more
Q176. How does memory leak happen in Javascript
Memory leaks in JavaScript happen when unused objects are not properly released from memory.
Memory leaks can occur when variables are not properly dereferenced, preventing garbage collection.
Closures can also lead to memory leaks if they hold references to large objects.
Event listeners can cause memory leaks if not removed properly after use.
Using setInterval without clearing it can lead to memory leaks.
Circular references can also cause memory leaks in JavaScript.
Q177. Cycle in linked list and behavioral
Detecting cycle in a linked list and discussing behavioral aspects
Explain how to use Floyd's Tortoise and Hare algorithm to detect a cycle in a linked list
Discuss the importance of understanding memory management in linked lists to prevent cycles
Explain the impact of cycles in linked lists on time complexity and space complexity of algorithms
Q178. Behaviour - how do you react to irate customers
I remain calm and empathetic, actively listen to their concerns, and work towards finding a solution.
Acknowledge their frustration and apologize for any inconvenience caused
Listen attentively to their concerns without interrupting
Offer a solution or escalate the issue to a higher authority if necessary
Ensure the customer is satisfied with the outcome before ending the conversation
Maintain a professional and respectful demeanor throughout the interaction
Q179. How can improve the sales and marketing what is your projection What is the reporting procedure
To improve sales and marketing, I would focus on creating targeted campaigns and utilizing data analytics to track performance.
Conduct market research to identify target audience and their needs
Develop targeted campaigns with clear messaging and call-to-action
Utilize data analytics to track campaign performance and make adjustments as needed
Collaborate with sales team to ensure alignment and provide necessary support
Regularly review and update marketing strategies based on ma...read more
Q180. How to implement Cadence algorithm
Cadence algorithm is used for real-time stream processing of data.
Cadence is a distributed system for managing workflows.
It uses a programming model called the Cadence Workflow Model.
The Cadence server is responsible for managing the state of workflows.
The Cadence client is responsible for executing the workflow tasks.
Cadence provides a lot of features like retries, timeouts, and error handling.
Q181. What is Complete employee life cycle ?
Complete employee life cycle refers to the stages an employee goes through during their employment with a company.
Recruitment and onboarding
Performance management
Career development and training
Compensation and benefits
Offboarding or separation
Examples: hiring, orientation, performance reviews, promotions, retirement, termination
Q182. System Design specific to domain
System design specific to domain
Understand the domain and its requirements
Identify the key components and their interactions
Choose appropriate technologies and architecture
Consider scalability and maintainability
Q183. Find maximum ZigZag length in a tree.
Find the maximum ZigZag length in a tree.
Perform a depth-first search (DFS) on the tree to traverse all nodes.
Keep track of the maximum ZigZag length encountered during traversal.
At each node, calculate the ZigZag length by comparing the depths of the left and right children.
Update the maximum ZigZag length if the current ZigZag length is greater.
Q184. How do you deal wirh a difficult customer?
I remain calm and listen to their concerns, empathize with them, and try to find a solution that satisfies both parties.
Listen actively to their concerns without interrupting them
Empathize with their situation and show understanding
Offer a solution that satisfies both parties
If necessary, involve a manager or supervisor for further assistance
Remain calm and professional throughout the interaction
Q185. A modification of subset sum problem, bottom and top view of ternary tree.
Q186. Test cases and test plan approach fir a given big feature
For a big feature, create detailed test cases and test plan to ensure thorough testing.
Understand the requirements and functionality of the feature
Identify different scenarios and edge cases to be tested
Prioritize test cases based on criticality and impact
Create test plan outlining test objectives, scope, resources, and timelines
Execute test cases, report defects, and retest after fixes
Q187. System Design of Zomato
Zomato is a food delivery and restaurant discovery platform that connects users with local restaurants.
Zomato uses a microservices architecture to handle its various functionalities.
The system is designed to handle a large number of concurrent users and requests.
Zomato uses a combination of relational and NoSQL databases to store data.
The platform uses machine learning algorithms to provide personalized recommendations to users.
Zomato also integrates with various third-party ...read more
Q188. How does vdom works in react
VDOM stands for Virtual Document Object Model, which is a lightweight copy of the actual DOM used by React for efficient rendering.
VDOM is a tree-like structure that React uses to keep track of changes in the UI.
When a component's state changes, React creates a new VDOM tree and compares it with the previous one to identify the changes.
React then updates only the parts of the actual DOM that need to be changed, resulting in faster rendering.
VDOM also allows React to render co...read more
Q189. Leetcode - smallest palindrome, Lowest common ancestor
Find the smallest palindrome and lowest common ancestor in a given tree
To find the smallest palindrome, iterate through the string and check if it is a palindrome. Return the smallest one found.
To find the lowest common ancestor in a tree, use a recursive approach to traverse the tree and find the common ancestor of two nodes.
Q190. Running totals in a year using dax
Running totals in a year using DAX
Use the DAX function CALCULATE to create running totals
Use the FILTER function to specify the date range for the running total
Example: CALCULATE(SUM(Sales[Amount]), FILTER(ALL('Date'[Date]), 'Date'[Date] <= MAX('Date'[Date])))
Q191. Design a parking lot system?
A parking lot system that manages parking spots and vehicles.
Create a class for parking lot with attributes like total number of spots, available spots, etc.
Create a class for vehicle with attributes like license plate number, type, etc.
Implement methods for parking a vehicle, removing a vehicle, and checking availability of spots.
Use data structures like arrays and maps to store and retrieve information.
Consider implementing a payment system for parking fees.
Q192. What is ur strength ?
My strength lies in my problem-solving skills and ability to learn quickly.
Strong problem-solving skills
Quick learner
Adaptability to new technologies
Ability to work well under pressure
Q193. What can support you?
Support from my team, access to resources, clear communication
Support from my team helps me stay motivated and overcome challenges
Access to resources such as training materials and tools enables me to perform my job effectively
Clear communication ensures that I understand project requirements and expectations
Q194. How many languages do know?
I am proficient in 5 programming languages including Java, Python, C++, JavaScript, and SQL.
Java
Python
C++
JavaScript
SQL
Q195. Can you explain market basket analysis
Market basket analysis is a technique used to understand the relationships between products purchased together by customers.
It involves analyzing transaction data to identify patterns and associations between products frequently bought together.
The goal is to uncover insights that can be used for product placement, cross-selling, and targeted marketing.
Commonly used in retail and e-commerce to optimize product recommendations and promotions.
Example: If customers who buy diape...read more
Q196. What is the difference between List and Set?
List allows duplicate elements and maintains insertion order, while Set does not allow duplicates and does not maintain any order.
List allows duplicate elements, while Set does not
List maintains insertion order, while Set does not maintain any order
Examples: List - ArrayList, LinkedList; Set - HashSet, TreeSet
Q197. High level system design
High level system design involves creating an abstract representation of a system's architecture.
Identify the system's components and their interactions
Define the system's boundaries and interfaces
Consider scalability, reliability, and maintainability
Use diagrams and models to communicate the design
Q198. Longest common subsequence print
Find and print the longest common subsequence in an array of strings
Use dynamic programming to find the longest common subsequence
Iterate through the array of strings to find common characters
Print the longest common subsequence found
Q199. what do think about women's education?
Women's education is crucial for the development of society and the empowerment of women.
Women's education leads to better health outcomes for themselves and their families.
Educated women are more likely to participate in the workforce and contribute to the economy.
Education can help women gain the skills and knowledge needed to advocate for their rights and challenge gender inequality.
Investing in women's education has been shown to have a positive impact on reducing poverty...read more
Q200. What is the Ten foot rule.
The Ten foot rule is a customer service principle where employees are expected to acknowledge and greet customers within ten feet of them.
Acknowledge and greet customers within ten feet of you
Show a friendly and welcoming attitude towards customers
Offer assistance or answer any questions they may have
Make customers feel valued and attended to
Examples: Saying 'Hello, how can I help you today?' to a customer approaching your area
Top HR Questions asked in G2 Technology Solutions
Interview Process at G2 Technology Solutions
Top Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month