Filter interviews by
Clear (1)
Top trending discussions
Finding smallest of 4 numbers without using >.< and min function in Java.
Initialize a variable with the first number
Compare it with the remaining numbers using if-else statements
If a smaller number is found, update the variable
Repeat until all numbers are compared
The final value of the variable will be the smallest number
Code for palindrome checking
Convert the input to lowercase to ignore case sensitivity
Use two pointers, one at the start and one at the end of the string
Compare the characters at both pointers and move them towards each other
If all characters match, it's a palindrome
Javascript code to display 'Hello World!' on the webpage
Create a new HTML file
Add a script tag with 'type' attribute set to 'text/javascript'
Inside the script tag, use document.write() to display 'Hello World!'
Swap two numbers without using a temporary variable.
Use addition and subtraction to swap the values
Use XOR operator to swap the values
Use multiplication and division to swap the values
To add 2 tables, we need to use a join operation on a common column.
Identify the common column between the tables
Choose the appropriate join type (inner, outer, left, right)
Write the SQL query to join the tables
Example: SELECT * FROM table1 INNER JOIN table2 ON table1.column = table2.column
Union combines and removes duplicates, Union All combines all rows including duplicates.
Union is used to combine the result sets of two or more SELECT statements and remove duplicates.
Union All is used to combine the result sets of two or more SELECT statements and includes all rows, including duplicates.
Union is slower than Union All as it has to remove duplicates.
Union requires the same number of columns in all SELEC...
Being assigned a project with unrealistic deadlines and minimal guidance
Received a project with tight deadlines and unclear requirements
Struggled to meet the deadlines due to lack of guidance and support
Had to work long hours and weekends to try to complete the project
Learned the importance of clear communication and setting realistic expectations
Implement LRU cache
LRU stands for Least Recently Used
It is a cache eviction policy that removes the least recently used item
It can be implemented using a doubly linked list and a hash map
Newly accessed items are moved to the front of the list
When the cache is full, the item at the end of the list is removed
Virtual memory is a memory management technique that allows a computer to use more memory than it physically has.
Virtual memory uses a combination of RAM and hard disk space to store data.
It allows programs to use more memory than is physically available.
If a program tries to access memory that is not currently in RAM, it will be swapped in from the hard disk.
Even if we had infinite RAM, virtual memory would still be n...
Find maximum length of subarray where max <= 2*min.
Iterate through array and keep track of max and min values.
Update max length when condition is met.
Time complexity: O(n)
I was interviewed before Mar 2021.
Round duration - 60 minutes
Round difficulty - Medium
Technical round with questions on DSA and OS.
Design and implement a data structure for a Least Recently Used (LRU) cache that supports the following operations:
get(key)
- Retrieve the value associated with the...Design and implement a Least Recently Used (LRU) cache data structure that supports get and put operations with a specified capacity.
Implement a doubly linked list to keep track of the order of keys based on their usage.
Use a hashmap to store key-value pairs for quick access and updates.
When a key is accessed or updated, move it to the front of the linked list to mark it as the most recently used.
When the cache reaches...
Given an array of non-negative integers and an integer K representing the length of a subarray, your task is to determine the maximum elements for each subarray of size ...
Find the maximum elements for each subarray of size K in a given array.
Iterate through the array and maintain a deque to store the indices of elements in decreasing order.
Pop elements from the deque that are out of the current window.
Keep track of the maximum element in each subarray of size K.
Return the maximum elements for each subarray.
Virtual memory is a memory management technique that allows a computer to compensate for physical memory shortages by temporarily transferring data from RAM to disk storage.
Virtual memory allows programs to use more memory than is physically available on the system.
It helps in multitasking by allowing multiple programs to run simultaneously without running out of memory.
Virtual memory uses a combination of RAM and disk...
Tip 1 : Must do Previously asked Interview as well as Online Test Questions.
Tip 2 : Go through all the previous interview experiences from Codestudio and Leetcode.
Tip 3 : Do at-least 2 good projects and you must know every bit of them.
Tip 1 : Have at-least 2 good projects explained in short with all important points covered.
Tip 2 : Every skill must be mentioned.
Tip 3 : Focus on skills, projects and experiences more.
I applied via Naukri.com and was interviewed in Jul 2023. There were 2 interview rounds.
I applied via Campus Placement and was interviewed in Sep 2023. There were 4 interview rounds.
Program to convert alternate letters of a sentence to uppercase, excluding whitespace
Iterate through each character of the sentence
Check if the character is a letter and if its index is odd
Convert the letter to uppercase if conditions are met
I approach solving balanced parenthesis program by using a stack data structure.
Use a stack to keep track of opening parentheses
Iterate through the input string and push opening parentheses onto the stack
When a closing parenthesis is encountered, pop from the stack and check if it matches the closing parenthesis
If stack is empty at the end and all parentheses are matched, the string is balanced
Program to print top five students in a classroom, handling edge cases
Create a list of students with their grades
Sort the list in descending order based on grades
Print the top five students, handling cases where there are less than five students or ties in grades
A program to check if a given string is a palindrome.
Create a function that takes a string as input.
Reverse the string and compare it with the original string.
If they are the same, then the string is a palindrome.
Example: 'racecar' is a palindrome.
Example: 'hello' is not a palindrome.
A program to return Fibonacci series using recursion or iteration
Use recursion to generate Fibonacci series
Use iteration to generate Fibonacci series
Handle edge cases like negative input or input of 0 or 1
Example: Fibonacci series up to 10 - 0, 1, 1, 2, 3, 5, 8, 13, 21, 34
Different ways to create a table in Python include using pandas, sqlite3, and SQLAlchemy libraries.
Using pandas library to create a table from a dictionary or list of lists
Using sqlite3 library to create a table in a SQLite database
Using SQLAlchemy library to create a table in a SQL database
posted on 13 Feb 2024
I applied via Referral and was interviewed before Feb 2023. There was 1 interview round.
I applied via Referral and was interviewed before Apr 2023. There were 3 interview rounds.
Software Engineer
56
salaries
| ₹0 L/yr - ₹0 L/yr |
Officer
55
salaries
| ₹0 L/yr - ₹0 L/yr |
Analyst
35
salaries
| ₹0 L/yr - ₹0 L/yr |
Senior Software Engineer
25
salaries
| ₹0 L/yr - ₹0 L/yr |
Manager
15
salaries
| ₹0 L/yr - ₹0 L/yr |
Morgan Stanley
Goldman Sachs
JPMorgan Chase & Co.
Bank of America