Filter interviews by
I was interviewed in Jun 2017.
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 Serv
GET and POST are HTTP methods used for sending data to a server.
GET is used to retrieve data from a server
POST is used to submit data to a server
GET requests can be cached and bookmarked
POST requests are not cached and cannot be bookmarked
GET requests have length restrictions
POST requests have no length restrictions
GET requests are less secure than POST requests
Observer pattern is a design pattern in which an object maintains a list of its dependents and notifies them automatically of any state changes.
Also known as publish-subscribe pattern
Used in event-driven systems
Allows loose coupling between objects
Example: A weather station broadcasts weather updates to multiple displays
Example: A stock market ticker notifies multiple investors of stock price changes
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.
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
Dependency injection is a design pattern that allows objects to receive dependencies rather than creating them internally.
It helps to decouple the code and makes it more testable and maintainable.
It allows for easier swapping of dependencies without changing the code.
There are three types of dependency injection: constructor injection, setter injection, and interface injection.
Example: Instead of creating a database co...
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 cook
CORS can be overcome by configuring the server to allow cross-origin requests.
Configure the server to include the Access-Control-Allow-Origin header
Use JSONP (JSON with Padding) to bypass CORS restrictions
Use a proxy server to make the request on behalf of the client
Use a browser extension to disable CORS restrictions during development
Use a server-side proxy to forward requests to the target server
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 ...
I applied via LinkedIn and was interviewed in Apr 2024. There were 2 interview rounds.
Visa interview questions for designations
Given an array of integers, find two numbers that add up to a given target value.
Use a hash map to store the difference between the target value and each element in the array.
Iterate through the array and check if the current element exists in the hash map.
If it does, return the indices of the two numbers.
If no solution is found, return an empty array.
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
Get interview-ready with Top Visa Interview Questions
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
I have 5 years of experience working as a software engineer in a tech company.
Developed and maintained software applications for various platforms
Collaborated with cross-functional teams to design and implement new features
Participated in code reviews and provided feedback to improve code quality
Troubleshooted and resolved technical issues reported by users
Stayed updated on latest technologies and trends in the industr
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...
A class in Java is a blueprint or template for creating objects that encapsulate data and behavior.
A class can contain fields, methods, constructors, and nested classes
Objects are instances of a class
Inheritance allows a class to inherit properties and methods from another class
Polymorphism allows objects of different classes to be treated as if they are of the same class
Example: class Car { String make; int year; void...
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.
I applied via Company Website and was interviewed in Feb 2022. There were 4 interview rounds.
3 DSA coding questions were there of medium difficulty to be solved in 90 mins.
I regret not thoroughly testing my code before deployment.
Not allocating enough time for testing
Assuming the code was error-free without proper validation
Not considering edge cases
Lack of unit tests
Not involving others for code review
2 Interview rounds
based on 20 reviews
Rating in categories
Senior Software Engineer
601
salaries
| ₹12.3 L/yr - ₹44 L/yr |
Software Engineer
175
salaries
| ₹11 L/yr - ₹34.6 L/yr |
Staff Software Engineer
140
salaries
| ₹24.8 L/yr - ₹60 L/yr |
Senior Software Test Engineer
84
salaries
| ₹18 L/yr - ₹40 L/yr |
Senior Data Engineer
83
salaries
| ₹20 L/yr - ₹42 L/yr |
MasterCard
American Express
PayPal
State Bank of India