i
Wells Fargo
Filter interviews by
Closure in JavaScript is the combination of a function and the lexical environment within which that function was declared.
Closure allows a function to access variables from its outer scope even after the outer function has finished executing.
It is created whenever a function is defined within another function.
Example: function outerFunction() { let outerVar = 'I am outer'; function innerFunction() { console.log(outerV...
Event loop in JavaScript is responsible for managing asynchronous operations by executing callback functions in a non-blocking way.
Event loop is a mechanism that allows JavaScript to perform non-blocking I/O operations.
It continuously checks the call stack and the callback queue, moving functions from the queue to the stack when the stack is empty.
Event loop ensures that JavaScript remains responsive and can handle mul
Redux is a predictable state container for JavaScript apps.
Actions are dispatched to the store
Reducers specify how the state changes in response to actions
Store holds the state of the application
Components subscribe to the store to get updates
Micro frontend architecture is an approach to front-end development where a single web application is composed of multiple smaller, independent applications.
Each micro frontend is responsible for a specific feature or functionality
Micro frontends can be developed, tested, and deployed independently
They can be built using different technologies and frameworks
Communication between micro frontends can be achieved through ...
What people are saying about Wells Fargo
Find an odd occurring number among even occurring numbers.
Use XOR operation to cancel out even occurring numbers and get the odd occurring number.
Iterate through the array and XOR each element with the result variable.
The final result will be the odd occurring number.
Print the spiral order of a binary tree and matrix.
For binary tree, use level order traversal and alternate direction for each level.
For matrix, use four pointers to traverse in spiral order.
Example for binary tree: 1 -> 2 -> 3 -> 4 -> 5 -> 6 -> 7 -> 8 -> 9
Example for matrix: 1 2 3 4 -> 8 7 6 5 -> 9 10 11 12 -> 16 15 14 13
Finding pairs in an array with a given sum.
Iterate through the array and for each element, check if the difference between the given sum and the element exists in the array.
Use a hash table to store the elements of the array and their indices for faster lookup.
If there are multiple pairs with the same sum, return any one of them.
If no pair is found, return null or an empty array.
Find total number of k element with given avg in an array in minimum time complexity.
Use sliding window technique to traverse the array in O(n) time complexity.
Maintain a sum variable to keep track of the sum of elements in the window.
If the sum of elements in the window is equal to k times the given avg, increment the count.
Move the window by subtracting the first element and adding the next element in the array.
Printing non-boundary elements of a binary tree
Traverse the tree in any order (preorder, inorder, postorder)
Check if the current node is not a boundary node (not the first or last node in its level)
If it is not a boundary node, print its value
Recursively traverse its left and right subtrees
I applied via Naukri.com and was interviewed before Apr 2020. There were 3 interview rounds.
SCD Type 2 is a technique used to track historical changes in data over time in a data warehouse.
SCD Type 2 maintains a separate row for each change in data, with a start and end date.
It requires a surrogate key to uniquely identify each row.
Informatica provides a built-in SCD Type 2 transformation to implement this technique.
Example: tracking changes in customer addresses over time.
I applied via Campus Placement and was interviewed before Nov 2021. There were 3 interview rounds.
Moderate level aptitude with basics
Moderate level data structure questions
Prototyping in JavaScript allows for quick and easy creation of new objects and functions.
Prototyping allows for inheritance and sharing of properties and methods.
New objects can be created using the 'new' keyword and the prototype of an existing object.
Functions can also be prototyped to add new methods or properties.
Example: function Person(name) { this.name = name; } Person.prototype.greet = function() { console.log...
I applied via Campus Placement and was interviewed before Sep 2020. There were 5 interview rounds.
To find the frequency of each word in a sentence.
Split the sentence into words
Create a dictionary to store word frequency
Iterate through the words and update the dictionary
Return the dictionary
posted on 28 Feb 2024
I applied via Company Website and was interviewed before Feb 2023. There were 5 interview rounds.
Hacker rank coding round - string and array - medium to hard
posted on 31 May 2024
Hackathon Test with 2 medium level coding question.
Technical Video Interview- Java concepts mostly related to Java 8, 1 coding program and some db questions were asked.
based on 1 interview
Interview experience
Senior Software Engineer
4.8k
salaries
| ₹13.5 L/yr - ₹51 L/yr |
Financial Analyst
2.6k
salaries
| ₹2 L/yr - ₹9 L/yr |
Software Engineer
1.6k
salaries
| ₹7.8 L/yr - ₹31.9 L/yr |
Assistant Vice President
1.4k
salaries
| ₹12.4 L/yr - ₹45 L/yr |
Senior Financial Analyst
1.4k
salaries
| ₹3.3 L/yr - ₹9 L/yr |
JPMorgan Chase & Co.
HSBC Group
Cholamandalam Investment & Finance
Citicorp