Directi Topics for Interview Preparation Last Updated : 26 Jun, 2024 Summarize Comments Improve Suggest changes Share Like Article Like Report Table of Content Easy Level Medium LevelHard LevelEasy LevelCount number of strings (made of R, G and B) using given combinationFind Maximum dot product of two arrays with insertion of 0'sFind the maximum path sum between two leaves of a binary treeK-Nearest NeighboursLargest sum Zigzag sequence in a matrixN-th root of a numberPrint all Jumping Numbers smaller than or equal to a given valueSearch in a row wise and column wise sorted matrixSliding Window Maximum (Maximum of all subarrays of size k)Stock Buy Sell to Maximize ProfitMedium Level Boggle | Set 2 (Using Trie)Check if an array can be divided into pairs whose sum is divisible by kFind Excel column name from a given column numberFind the point where maximum intervals overlapMaximum size rectangle binary sub-matrix with all 1sProbability of Knight to remain in the chessboard Hard Level Backtracking | Set 7 (Sudoku) Comment More infoAdvertise with us K kartik Follow Improve Article Tags : Interview Experiences Directi Practice Tags : Directi Similar Reads K-Nearest Neighbor(KNN) Algorithm K-Nearest Neighbors (KNN) is a supervised machine learning algorithm generally used for classification but can also be used for regression tasks. It works by finding the "k" closest data points (neighbors) to a given input and makesa predictions based on the majority class (for classification) or th 8 min read Top HR Interview Questions and Answers (2025) HR interviews can be daunting but they donât have to be. The bottom line in most hiring processes entails testing the personality of a candidate for their communication traits and company culture fit. Being at the initial or experienced levels of your career being prepared for commonly asked fresher 15+ min read What is Array? Array is a linear data structure where all elements are arranged sequentially. It is a collection of elements of same data type stored at contiguous memory locations. For simplicity, we can think of an array as a flight of stairs where on each step is placed a value (let's say one of your friends). 2 min read Topic wise multiple choice questions in computer science We have covered multiple choice questions on several computer science topics like C programming, algorithms, data structures, computer networks, aptitude mock tests, etc. Practice for computer science topics by solving these practice mcq questions.This page specifically covers a lot of questions and 2 min read Infosys Interview Experience | SP I have applied on off-campus in June month of 2024. After 3-4 weeks, I get emails of the Shortlisted for the online test under the Infosys Campus Recruitment Program. The test date is 6 July 2024. so Infosys SP hiring asks for 3 Problems related to Data Structure and Algorithms (DSA). Problem Levels 4 min read Algorithm to Solve Sudoku | Sudoku Solver Given an incomplete Sudoku in the form of matrix mat[][] of order 9*9, the task is to complete the Sudoku.A sudoku solution must satisfy all of the following rules:Each of the digits 1-9 must occur exactly once in each row.Each of the digits 1-9 must occur exactly once in each column.Each of the dig 15+ min read Difference between Shallow and Deep copy of a class Shallow Copy: Shallow repetition is quicker. However, it's "lazy" it handles pointers and references. Rather than creating a contemporary copy of the particular knowledge the pointer points to, it simply copies over the pointer price. So, each of the first and therefore the copy can have pointers th 5 min read Cloud Computing Interview Questions and Answers Cloud computing has become an integral part of modern technology infrastructure, revolutionizing how businesses manage and deliver services over the Internet. Cloud computing refers to the delivery of computing servicesâincluding servers, storage, databases, networking, software, analytics, and inte 15+ min read Sliding Window Maximum (Maximum of all subarrays of size K) Given an array arr[] of integers and an integer k, your task is to find the maximum value for each contiguous subarray of size k. The output should be an array of maximum values corresponding to each contiguous subarray.Examples : Input: arr[] = [1, 2, 3, 1, 4, 5, 2, 3, 6], k = 3Output: [3, 3, 4, 5, 15+ min read Amazon Interview Questions and Answers Getting an interview with Amazon is a big achievement, but it can also be a bit challenging. Founded by Jeff Bezos in 1994, since its start as a small online bookstore in 1994, Amazon has grown into a global leader in e-commerce, cloud computing, and AI. Known for its focus on customers and constant 6 min read Like