## UGC-NET | UGC NET CS 2016 Aug – II | Question 1

The Boolean function [~(~p ∧ q) ∧ ~( ~p ∧ ~q)] ∨ (p ∧ r)] is equal to the Boolean function: (A) q (B) p… Read More »

## Maximum possible difference of two subsets of an array

Given an array of n-integers. Array may contain repetitive elements but the highest frequency of any elements must not exceed two. You have to make… Read More »

## Thue-Morse sequence

Thue–Morse sequence, or Prouhet–Thue–Morse sequence, is an infinite binary sequence of 0s and 1s. The sequence is obtained by starting with 0 and successively appending… Read More »

## Find unique elements in linked list

Given a linked list. We need to find unique elements in the linked list i.e, those elements which are not repeated in the linked list… Read More »

## Program to check if first and the last characters of string are equal

We are given a string, we need check whether the first and last characters of the string str are equal or not. Case sensitivity is… Read More »

## std::cbrt() in C++

The std::cbrt() is an inbuilt function in C++ STL which is used to calculate the cube root of number. It accepts a number as argument… Read More »

## Python | Program to print duplicates from a list of integers

Given a list of integers with duplicate elements in it. The task to generate another list, which contains only the duplicate elements. In simple words,… Read More »

## Minkowski distance in Python

Minkowski distance is a metric in a normed vector space. Minkowski distance is used for distance similarity of vector. Given two or more vectors, find… Read More »

## Check whether a very large number of the given form is a multiple of 3.

Consider a very long K-digit number N with digits d0, d1, …, dK-1 (in decimal notation; d0 is the most significant and dK-1 the least… Read More »

## Sorted insert in a doubly linked list with head and tail pointers

A Doubly linked list is a linked list that consists of a set of sequentially linked records called nodes. Each node contains two fields that… Read More »

## PL/SQL Introduction

PL/SQL is a block structured language that enables developers to combine the power of SQL with procedural statements.All the statements of a block are passed… Read More »

## CSS | Positioning Elements

The position property in CSS tells about the method of positioning for an element or an HTML entity. There are five different types of position… Read More »

## Double elements and append zeros in linked list

Given a linked list with some two adjacent repeating nodes before a zero, task is to double the first and make next 0. After this,… Read More »

## Ordered Prime Signature

Given a number n, find the ordered prime signatures and using this find the number of divisor of given n. Any positive integer, ‘n’ can… Read More »

## Distinct elements in subarray using Mo’s Algorithm

Given an array ‘a[]’ of size n and number of queries q. Each query can be represented by two integers l and r. Your task… Read More »