##
Parameter Passing Techniques in C/C++
July 17, 2017

There are different ways in which parameter data can be passed into and out of methods and functions. Let us assume that a function B()… Read More »

July 17, 2017

There are different ways in which parameter data can be passed into and out of methods and functions. Let us assume that a function B()… Read More »

In computer graphics, we have seen how to draw some basic figures like line and circles. In this post we will discuss on basics of… Read More »

numpy.asmatrix(data, dtype = None) Returns a matrix by interpreting the input as a matrix. Parameters : data : array-like input data dtype : Data type… Read More »

std::basic_string::at, std::basic_string::operator[] Both at() and operator[] can be used to access an element in the string. But there exists one difference between them on how… Read More »

Given a perfect binary tree, print nodes of middle level without computing its height. A perfect binary tree is a binary tree in which all… Read More »

Factor Tree is an intuitive method to understand factors of a number. It shows how all the factors are been derived from the number. It… Read More »

Given a binary tree, print all the ancestors of a particular key existing in the tree without using recursion. Here we will be discussing the… Read More »

July 16, 2017

Given a file “Input.txt” in which every line has values same as instance variables of a class. Read the values into the class’s object and… Read More »

A shape is equable if its area is equal to its perimeter. Given ordered coordinates of polygon find whether the shape is equable or not.… Read More »

Given a circular linked list, count number of nodes in it. For example output is 5 for below list. Recommended: Please try your approach on… Read More »

Round 1 15 Technical Aptitude (predominantly DS), 3 Queries, 2 Coding Question hosted in HackerRank Round 2 (F2F Technical Interview) Find the number of rotations… Read More »

Round 1: This was the round to filter 86 students out of 260 students, who appeared for the Online Quants test (organised by HirePro). It… Read More »

This article discusses the concept of thread synchronization in case of multithreading in Python programming language. Synchronization between threads Thread synchronization is defined as a… Read More »

Sorting any sequence is very easy in Python using built-in method sorted() which does all the hard work for you. Sorted() sorts any sequence (list,… Read More »

You are given a string of 2N characters consisting of N ‘[‘ brackets and N ‘]’ brackets. A string is considered balanced if it can… Read More »