Posts

Showing posts from July, 2022

Advantages of an Array

  Brushing up your array knowledge is of utmost importance especially if you are a programmer! So today, we are going to discuss arrays, its related  concepts like array rotation  and its key benefits to the programmer. An array is a data structure to store a specific data type. However, you need to know that an array has a definite size. This means that you will have to assign a certain memory to an array, depending upon the data type.  For better understanding, consider an array as a collection of elements of a similar type. So, if you are storing an integer in an array, you can only store an integer in that array. You can not store character, float, or any other data type in an integer array. Other than this, arrays are single-dimensional and multidimensional that you can use according to your requirement. There are different advantages associated with an array including reducing the code and reducing memory usage.  Read on to know about these advantages in ...

The Importance Of Algorithms In Computer Programming

  While doing programming, there are thousands of things you have to remember and keep in your mind at all times.  How would you feel if you have a messed-up path on which you have to run your program or code to reach the destination or output? Quite obviously, Not great.  However, algorithms will save the day for you on this one.But do you know what the term algorithm means in computer networking Algorithms are defined as a simple step-by-step explanation of the path on which your program will run. Whereas in the more technical world or simply programming, the algorithm is stated as a unique procedure that considers specific values as inputs and others as output to generate a computed path for a program.  There are many  factors such as the time complexity of sorting algorithms , their working, efficiency, and much more that you need to understand while working with the algorithms. However, among these, the most important factor is to understand why algorithms ...

All you need to know about API to crack the interview

Image
  The mere thought of facing a technical interview may send a shiver down your spine. And, API interviews are no exception to this. When applying for API jobs, you will need to demonstrate that you have a better understanding of API, related concepts,  web api interview questions and answers   and much more. So whenever you get a call for an API interview , you might get confused about what to prepare. But not anymore! This guide will provide you with every detail you need to know to crack your next technical interview with excellent API knowledge. So, let’s start with the basic questions every candidate is asked. What is API testing? API stands for an application programming interface. It is a set of guidelines or instructions that provides data access to other applications and allows them to comprehend data from external components of the software. It also allows the application to access operating systems and microservices. Simply put, API sends a user request to the s...

How Mock Tests Will Help You To Ace The Entrance Examinations?

Millions of people appear for entrance examinations for a college or a job but only some of them successfully clear those examinations. If you are wondering why? Well, the preparation matters! One of the most important parts of your preparation is mock tests. Many people who avoid taking mock tests are not well equipped with the pattern of the exam or may lack timing. Not only your college entrance exams, but you also need to give exams in many popular organizations like Infosys or Wipro to be a part of the teams. For those organizations as well, you are advised to take an Infosys mock test or Wipro mock test to get used to the pattern of the exam. So, if you are also not sure if you want to take mock tests before your examination or not, we have got some points to help you decide. Ways Mock Tests Can Help You Ace The Examination The primary objective of taking a mock test is to check where you are lacking and what you can improve to perform better in your exams. Some other ways in w...

TCS and Goldman Sachs - Hiring Process

  Recruitment refers to actively seeking out and hiring the most suitable candidates for a specific position or job. Whenever we want to define recruitment, it should include the entire hiring process, from inception to the individual recruit's integration into the company. Recruitment identifies and entices potential employees to fill open jobs in a company. It is a process of identifying applicants who possess the skills and attitudes necessary to help a business achieve its goals. To evaluate candidates on a better scale, most companies also conduct online assessment tests like Goldman Sachs online assessment tests, TCS code vita etc. These tests are often just round 1 of the recruitment process. This article will share the details of the  Goldman Sachs Online Assessment Test  and TCS mock tests . Goldman Sachs Hiring Process:- Goldman Sachs evaluates the applications throughout the recruiting season, which means candidates may hear back regarding different roles. Cand...

Online Test – Amazon and De shaw Online Test

This article will discuss the complete hiring process on Amazon via the  Amazon Test Series . Recruitments help identify the applicant’s skills and attitude required to support a business in achieving its goals. So let’s dive into the process of hiring on Amazon and Deshaw. Amazon Amazon is an international company; its headquarters is based in Seattle, Washington, US. Amazon helps high-skilled graduates achieve their dreams through amazon and pay salaries over 50% higher than other companies on average. Amazon Recruitment Guide Due to its management and salary structure, Amazon receives thousands of applications every year. Stages in Amazon are divided into seven parts to simplify the process, including online psychometric tests. While in this process, over 60% of candidates face rejection during this process. Four stages are: Amazon Written Exam Amazon Online Coding round Amazon Technical round Amazon Interview Process * Telephonic Interview * HR Interview Amazon Online Applicati...

Mock Test For Various Companies

  Introduction This article will discuss some of the accenture mock test series questions. The problems of this accenture mock test series  will be of medium-level difficulty. The questions will be based on different topics such as quantitative aptitude, logical reasoning, etc. We will discuss the solution along with the problem. After completing this article you will be able to solve different mock test series. Problems Quantitative aptitude 1. A die is rolled twice, the probability of getting a sum equal to 9 will be? a)  2/9            b) 1/3            c) 2/3             d) 1/9   Ans: Option d Explanation:  Total number of outcomes: 36 E= Getting a sum of 9 when the dice fall: {(3,6), (4,5), (5,4), (6,3)} P(E) = n(E) / n(S)  = 4/36 = 9 2. When two coins are tossed at once, What is the probability of heads on both the coins? a) 3/4b)1/4c) 1/2 d) ...

Amazon Online Test and DE Shaw Online Assessment Test

About Amazon Amazon is an American multinational electronic commerce company headquartered in Seattle, Washington. It is the biggest online retailer in the world. Amazon.com began as an online bookstore but quickly expanded into the sale of DVDs, VHSs, CDs, video and MP3 downloads/streaming, software, video games, electronics, apparel, furniture, food, toys, and jewellery. In addition, the company manufactures consumer electronics, most notably the Amazon Kindle e-book reader and the Kindle Fire tablet computer, and is a significant provider of cloud computing services. Amazon Selection Process In the case of recruitment, the selection is the process of selecting potential employees for a company or organisation. Amazon A selection stage is included in the recruitment process, where decisions are made about the viability of a specific candidate's job application. It has a direct impact on an organisation's overall productivity. A good choice can improve a company's overall ...

Detect Cycle in Directed Graph in O(V+E)

  Introduction  In this article, we will learn about Detect Cycle in Directed Graph  using multiple approaches.  Examine a directed graph to see if it has a cycle. If the given graph contains at least one cycle, your function should return true; otherwise, it should return false. Method 1: DFS Approach A cycle in a graph can be detected using Depth First Traversal. A tree is produced using DFS for a connected graph. Only if the graph has a rear edge does it have a cycle. A back edge in the DFS tree is an edge that connects a node to itself (self-loop) or one of its ancestors. Get the DFS forest as output for a disconnected graph. Check for a cycle in individual trees by looking at the back borders. Keep track of the vertices currently in the recursion stack of the DFS traversal algorithm to detect a back edge. There is a cycle in the tree if a vertex is reached that is already on the recursion stack. A back edge connects the current vertex to the next verte...

Google Coding Interview Questions

In this article, we will be discussing Google Coding Interview Questions with their solutions. ARRAYS Sum of Two Values Problem Statement: You are given an array of integers and a value, the task is to determine if there exist any two integers in the array whose sum is equal to the given value. Solution: bool find_sum_of_two(vector<int>& A, int val) {   unordered_set<int> found_values;   for (int& a : A) {     if (found_values.find(val - a) != found_values.end()) {       return true;     }     found_values.insert(a);   }   return false; } int main() {   vector<int> v = {5, 7, 1, 2, 8, 4, 3};   vector<int> test = {3, 20, 1, 2, 7};   for(int i=0; i<test.size(); i++){     bool output = find_sum_of_two(v, test[i]);     cout << "find_sum_of_two(v, " ...