All Medium Articles
In this article, we will discuss different types of problems based on B and B+ trees. Before understanding this article, you should understand basics of… Read More
Recently Amazon visited our campus for Internship and Full time.  Coding Test: Was an online test which comprised of 2 coding questions and 20 MCQs.  MCQs… Read More
Round 1 Telephonic interview : Database-> ACID properties Oops concept–>can constructors be private ?If yes, how can they be called (singleton class) Prepare in depth… Read More
Given the number of rows and columns, print the corresponding swastika pattern using loops.  Note: The number of rows and columns should be the same… Read More
To get the size of file from server first you need to connect to the server using URL and HttpURLConnection Class. To get the size… Read More
Time complexity of printing all permutations of a string.  void perm(String str){     perm(str, “”);  }    void perm(String str, String prefix){    … Read More
Boost.LexicalCast which is defined in the Library “boost/lexical_cast.hpp” provides a cast operator, boost::lexical_cast, that can convert numbers from strings to numeric types like int or… Read More
PURPOSE OF VIDEO SHARING SERVICE SYSTEMYoutube is the advertisement based video sharing service that allows users to upload video based media contents. Users can upload,… Read More
Given n, of a n x n chessboard, find the proper placement of queens on chessboard.Previous Approach : N Queen Algorithm :  Place(k, i) //… Read More
The Natural Language Toolkit (NLTK) is a platform used for building programs for text analysis. One of the more powerful aspects of the NLTK module… Read More
java.util.Calendar.after() is a method in Calendar class of java.util package. The method returns true if the time represented by this Calendar is after the time… Read More
There is a m*n rectangular matrix whose top-left(start) location is (1, 1) and bottom-right(end) location is (m*n). There are k circles each with radius r.… Read More
Given a string s, count special substrings in it. A Substring of S is said to be special if either of the following properties is… Read More
Prerequisite : Decision making in CQuestion 1   C #include"stdio.h" #include"stdlib.h" void reverse(int i) {     if (i > 5)          exit(0);      printf("%d\n", i);      return reverse(i++); } int… Read More
The Elo Rating Algorithm is a widely used rating algorithm used to rank players in many competitive games.  Players with higher ELO ratings have a… Read More
PURPOSE OF CITY GUIDE SERVICE City guide will be the service that allows users to search and find place near to user’s location. You can… Read More
Given a binary tree. Modify it in such a way that after modification you can have a preorder traversal of it using only the right… Read More
Huffman Encoding is an important topic from GATE point of view and different types of questions are asked from this topic. Before understanding this article,… Read More
Given any date according to the Gregorian Calendar, the task is to return the day(Monday, Tuesday…etc) on that particular day. Examples:   Input : Date: 13 July… Read More
Given a range find total such numbers in the given range such that they have no repeated digits. For example: 12 has no repeated digit. 22… Read More