Skip to content
Gblog 100 Days of Code – A Complete Guide For Beginners and Experienced
Do you want to become a successful software developer and dreaming about getting into the big tech companies? Are you someone who is already working… Read More
Given an unsorted array arr[] of both negative and positive integer. The task is place all negative element at the end of array without changing… Read More
Like integers, C++11 introduced some basic inbuilt functions for handling simple mathematical computations of floating-point numbers necessary for day-to-day programming as well as competitive programming.… Read More
Given a positive floating point number n, the task is to find the smallest integer k, such that when we multiply k with n, we… Read More
Exception Handling in Java is one of the effective means to handle the runtime errors so that the regular flow of the application can be… Read More
Given a matrix of m x n matrix, we need to print all those cells at which sum of sub-matrix ended at this cell and… Read More
Decomposition of a relation is done when a relation in relational model is not in appropriate normal form. Relation R is decomposed into two or… Read More
SQL| JOIN(Inner, Left, Right and Full Joins) In this article, we will discuss about the remaining two JOINS: CARTESIAN JOIN SELF JOIN Consider the two… Read More
Functional Dependency A functional dependency A->B in a relation holds if two tuples having same value of attribute A also have same value for attribute… Read More
How to shutdown your computer in Linux and/or Windows? The idea is to use system() in C. This function is used to invoke operating system… Read More
Applied through college. The process took 2 days. I was interviewed at Siemens (Chennai) in October 2016. The hiring process was done in four rounds:… Read More
Given two arrays, A and B, of equal size n, the task is to find the minimum value of A[0] * B[0] + A[1] *… Read More
Given a binary tree and a integer value K, the task is to find all nodes in given binary tree having K leaves in subtree… Read More
Given an array, the task is to calculate the sum of lengths of contiguous subarrays having all elements distinct. Examples:  Input : arr[] = {1,… Read More
The First Round of test was taken online by Amazon on Hackerearth. First Round: 20 MCQs 2 Coding Questions: Find zeroes to be flipped so… Read More
FileOutputStream class belongs to byte stream and stores the data in the form of individual bytes. It can be used to create text files. A… Read More

Start Your Coding Journey Now!