# Search results

1. ### Exit Interview Questions for Software Engineers

Hi everyone, I am a software engineer and I am currently preparing for an exit interview. I was wondering if anyone could share some of the questions that they have been asked in their exit interviews. I am particularly interested in questions related to the following topics: Reasons for...
2. ### Travelling Salesman Problem Using Dynamic Programming

In the traveling salesman problem algorithm, we take a subset N of the required cities that need to be visited, the distance among the cities dist, and starting city s as inputs. Each city is identified by a unique city id which we say like 1,2,3,4,5………n Here we use a dynamic approach to...
3. ### Python Go through hidden elements one by one.

No, it does not need to be written in Python specifically. There are many other programming languages available that can be used to write scripts.
4. ### C++ How to calculate the greatest common divisor of two numbers in C++.

We can traverse over all the numbers from min(A, B) to 1 and check if the current number divides both A and B or not. If it does, then it will be the GCD of A and B. int GCD(int A, int B) { int m = min(A, B), gcd; for(int i = m; i > 0; --i) if(A % i == 0 && B % i == 0) {...
5. ### Python Go through hidden elements one by one.

I have a few elements I want to click with selenium. The elements are hidden and I'm using the format right. Consequently, I'm looking for a workaround to iterate the function. I have the function in curly braces with the 'f' format to read the function. In order to see the element I have to...
6. ### Angular, WebAPI,SignalR beginning questions

Should I take this post down if it is incorrect or silly? I recently graduated college and am applying for an entry-level position. I am about to take a technical assessment that includes topics I'm not familiar with such as Angular, SignalR, and WebAPI. Is it a good idea to group all of these...
7. ### How to connect with azure SQL database without IP whitelisting

At the interview, I was asked how I would connect to a newly provisioned SQL Server in a resource group using Azure Data Factory without whitelisting the IP address. I suggested Managed Identity as an option. Can someone guide me to the best practices around it? The securest way to connect to...
8. ### is "rand() % 100;" not very random?

This method is probably not the best way to establish a range of numbers. If you are looking to get a specific range, I suggest using a more efficient algorithm, such as using modulo arithmetic.
9. ### Interview Questions for Java: Clarifications

I took part in a Java interview and was asked the following questions, the answers to which I am unable to provide. 1> I have below class class CricketTeam{ String name; //this is the complete name(inclusive of first and last name) } Cricket Players name are as...
10. ### HTML5 Canvas Games?

Yes! I'm currently working on creating a game using HTML5 and the Canvas API. I'm also learning more about game development with JavaScript and how to integrate it with HTML5. It's an exciting and challenging field to explore.
11. ### JavaScript Want more resource

We can use binary search to find the target element in an array. First, we need to sort the array in ascending order. Then, we can use binary search to find the target element in the sorted array. The time complexity of this approach is O(nlogn), where n is the number of elements in the Array...
12. ### PHP What is the difference between \$message and \$\$message in PHP?

The difference is that \$message is a string variable while \$\$message is a variable whose name is stored in \$message. Reference
13. ### what's up?

Hey Everyone!