Filter interviews by
React lifecycle functions are methods that are automatically called at specific points in a component's life cycle.
Mounting: constructor, render, componentDidMount
Updating: render, componentDidUpdate
Unmounting: componentWillUnmount
The time taken by the kth person to collect n number of tickets can be calculated using a formula.
Use the formula: time = (n - 1) * k
Subtract 1 from n because the first person doesn't need to wait for anyone
Multiply the result by k to get the time taken by the kth person
Example: If n = 5 and k = 3, the time taken by the 3rd person would be (5 - 1) * 3 = 12
Separate even and odd numbers in an array
Iterate through the array and check if each number is even or odd
Create two separate arrays for even and odd numbers
Add the even numbers to the even array and odd numbers to the odd array
Return both arrays as the result
Singleton is a design pattern that restricts the instantiation of a class to a single object.
Singleton ensures that only one instance of a class exists in the entire application.
It provides a global point of access to the instance.
Commonly used in scenarios where a single instance needs to coordinate actions across the system.
Example: Database connection manager, logger, configuration manager.
Immutable in Java refers to objects whose state cannot be changed after creation.
String, Integer, and other wrapper classes are immutable in Java.
Immutable objects are thread-safe and can be shared without synchronization.
To create an immutable class, make all fields final and private, and don't provide setters.
Examples of immutable classes in Java include LocalDate, LocalTime, and LocalDateTime.
Ajax calls allow for asynchronous communication between client and server without reloading the page.
Ajax stands for Asynchronous JavaScript and XML
Uses XMLHttpRequest object to send and receive data
Allows for partial page updates without reloading the entire page
Can handle data in various formats such as JSON, XML, HTML, and plain text
Example: $.ajax({url: 'example.com', success: function(data){console.log(data)}...
REST is lightweight and uses HTTP while SOAP is XML-based and has more features.
REST uses HTTP methods like GET, POST, PUT, DELETE while SOAP uses XML messaging.
REST is stateless while SOAP can maintain state.
REST is faster and easier to use while SOAP is more secure and reliable.
REST is used for web services while SOAP is used for enterprise-level services.
Example of REST: Twitter API. Example of SOAP: Amazon Web...
Creating immutable in Java
Use final keyword to make variables immutable
Use private constructor to prevent object modification
Use defensive copying to prevent modification of mutable objects
Use enum to create immutable objects
Use String class to create immutable strings
CORS stands for Cross-Origin Resource Sharing. It is a security feature implemented in web browsers to restrict access to resources from different origins.
CORS allows web servers to specify which origins are allowed to access its resources
It is implemented using HTTP headers
CORS prevents malicious websites from accessing sensitive data from other websites
Examples of resources that may be restricted by CORS include...
Print the given Binary search tree in ascending order
Traverse the left subtree recursively
Print the root node
Traverse the right subtree recursively
I applied via Job Portal
React lifecycle functions are methods that are automatically called at specific points in a component's life cycle.
Mounting: constructor, render, componentDidMount
Updating: render, componentDidUpdate
Unmounting: componentWillUnmount
Padding is the space inside the border of an element, while margin is the space outside the border.
Padding is used to create space between the content and the border of an element.
Margin is used to create space between the border of an element and other elements.
Padding affects the size of the content area, while margin affects the positioning of the element.
Example: padding: 10px will create 10 pixels of space inside ...
Yes, I am open to relocating for the right opportunity, as it can enhance my career and personal growth.
Relocation can provide exposure to new technologies and methodologies.
Living in a different city can broaden my professional network.
I am adaptable and enjoy new experiences, which relocation offers.
For example, moving to a tech hub can lead to better career prospects.
I want to work for Visa because of its innovative technology, global impact, and opportunities for growth.
Visa is a leader in the fintech industry, constantly developing cutting-edge technology solutions.
Visa has a global presence, allowing me to work on projects with international impact.
Visa offers opportunities for career growth and development, with a focus on employee advancement.
I applied via LinkedIn and was interviewed in Apr 2024. There were 2 interview rounds.
The time taken by the kth person to collect n number of tickets can be calculated using a formula.
Use the formula: time = (n - 1) * k
Subtract 1 from n because the first person doesn't need to wait for anyone
Multiply the result by k to get the time taken by the kth person
Example: If n = 5 and k = 3, the time taken by the 3rd person would be (5 - 1) * 3 = 12
Separate even and odd numbers in an array
Iterate through the array and check if each number is even or odd
Create two separate arrays for even and odd numbers
Add the even numbers to the even array and odd numbers to the odd array
Return both arrays as the result
Coding test link will be given
I applied via Referral and was interviewed before Sep 2023. There were 2 interview rounds.
Coding test consisted of basic coding questions on codesignal platform
Using pandas in Python to perform tasks for a Software Engineer interview question
Import pandas library
Read data from a CSV file using pandas
Perform data manipulation and analysis using pandas functions
Write the processed data back to a new CSV file
I applied via Company Website and was interviewed in Nov 2022. There were 2 interview rounds.
My strength is problem-solving and analytical thinking.
I have a strong ability to analyze complex problems and break them down into smaller, manageable tasks.
I am skilled in identifying patterns and finding efficient solutions.
I have experience in using various programming languages and tools to solve problems.
I am a quick learner and adapt well to new technologies and frameworks.
I have a track record of successfully d...
Good questions in less time, one hard dynamic programming problem
Visa is a payment processing company that facilitates electronic funds transfers globally.
Visa operates a network that connects financial institutions, merchants, and consumers worldwide.
The company provides payment products and services, including credit and debit cards, prepaid cards, and digital wallets.
Visa's payment processing system involves authorization, clearing, and settlement of transactions.
To design a scal...
I applied via Campus Placement and was interviewed in Aug 2022. There were 4 interview rounds.
90 minutes hackerrank test, 3 questions 1 easy 2 medium.
Top trending discussions
Some of the top questions asked at the Visa Software Engineer interview -
based on 12 interview experiences
Difficulty level
Duration
based on 24 reviews
Rating in categories
Senior Software Engineer
699
salaries
| ₹14 L/yr - ₹45 L/yr |
Software Engineer
444
salaries
| ₹9 L/yr - ₹30 L/yr |
Staff Software Engineer
213
salaries
| ₹24.7 L/yr - ₹65 L/yr |
Senior Data Engineer
108
salaries
| ₹20 L/yr - ₹45 L/yr |
Director
95
salaries
| ₹33.6 L/yr - ₹127 L/yr |
MasterCard
American Express
Paytm
FIS