All Medium Articles
  Online [Coding] Round: The test had three sections – Coding, Technical and Aptitude. It was hosted on HackerRank. Coding round had 2 questions – Time… Read More
Suppose there are a set of data points that need to be grouped into several parts or clusters based on their similarity. In Machine Learning,… Read More
Round 1: This was on HLD, I was asked a question on how to design an online chess game. The questions asked were how will… Read More
tf-idf stands for Term frequency-inverse document frequency. The tf-idf weight is a weight often used in information retrieval and text mining. Variations of the tf-idf… Read More
Given a string str, print of all the combinations of a string in lexicographical order.Examples:   Input: str = "ABC" Output: A AB ABC AC ACB… Read More
Round 1: Coding round + MCQs There were 2 coding questions and 20 mcqs of variable marks such as 4, 6 and 2 and no… Read More
I solved just two questions in codevita 2018 and was called for an interview session at TCS Geetanjali Park at 12:00 noon on Aug 22,… Read More
Given an array of N integers, the task is to find the number of pairs (i, j) such that A[i] ^ A[j] is odd.Examples:   Input… Read More
Coding Round was a 1 and half an hour round. Three questions were there.   Tell if parenthesization is valid or invalid with strings containing {}[]<>.Find… Read More
Recently Amazon visited our college for hiring 2 months summer interns. Round 1: It was Online round on HackerEarth consisting of 20 technical questions and… Read More
Prerequisite – Pushdown automata, NPDA for accepting the language L = {ambnc(m+n) | m,n ≥ 1} PDA plays a very important role in task of… Read More
Prerequisite – Turing Machine In a given language, L = {aibjck | i*j = k; i, j, k ≥ 1}, where every string of ‘a’, ‘b’… Read More
Hadoop is an open source framework overseen by Apache Software Foundation which is written in Java for storing and processing of huge datasets with the… Read More
In C#, Char.IsUpper() is a System.Char struct method which is used to check whether a Unicode character can be categorized as an uppercase letter or… Read More
A Cast operator is a unary operator which forces one data type to be converted into another data type. C++ supports 4 types of casting:… Read More
C++
When it comes to web development, JavaScript can do wonders! Let me show you one more wonder of JavaScript. Wouldn’t it be cool if we… Read More
Given an array, find the XOR of sum of all pairs in an array. Examples:  Input : arr[] = {1, 2, 3} Output : 0… Read More
Online Round SAP Labs India visited our campus on 11’th Aug 2018 offering full time as well as internship (2 months, 6 months) Following was… Read More
Given an undirected weighted graph. The task is to find the minimum cost of the path from source node to the destination node via an… Read More
Given an undirected graph, print all the vertices that form cycles in it. Pre-requisite: Detect Cycle in a directed graph using colors   Undirected Graph In the… Read More