## Count set bits in an integer using Lookup Table

Write an efficient program to count number of 1s in binary representation of an integer. Examples Input : n = 6 Output : 2 Binary… Read More »

## Converting one string to other using append and delete last operations

Given an integer k and two strings str1 and str2 determine whether or not we can convert str1 to str2 by performing exactly k of… Read More »

## Analysis of different sorting techniques

In this article, we will discuss important properties of different sorting techniques including their complexity, stability and memory constraints. Before understanding this article, you should… Read More »

## Different types of recurrence relations and their solutions

In this article, we will see how we can solve different types of recurrence relations using different approaches. Before understanding this article, you should have… Read More »

## Activation functions in Neural Networks

It is recommended to understand what is a neural network before reading this article. In The process of building a neural network, one of the… Read More »

## Natural Language Programming

Having programmed for many years in many languages, I often find myself thinking in English pseudo-code, then I translate my thoughts into whatever artificial syntax… Read More »

## GeeksforGeeks – JIIT 128 Association for Mega Events – Feb 2018

We would like to thank our sponsor GeeksforGeeks – A Computer Science Portal for giving us opportunity to successfully organise various events for past few… Read More »

## PHP | array_slice() Function

The array_slice() is an inbuilt function of PHP and is used to fetch a part of an array by slicing through it, according to the… Read More »

## Maximum spiral sum in Binary Tree

Given a binary tree containing n nodes. The problem is to find the maximum sum obtained when the tree is spirally traversed. In spiral traversal… Read More »

## Count pairs from two sorted matrices with given sum

Given two sorted matrices mat1 and mat2 of size n x n of distinct elements. Given a value x. The problem is to count all… Read More »

## Pseudocolumn in Oracle SQL

Pseudocolumn: A pseudo-column behaves like a table column but is not actually stored in the table. You can select from pseudo-columns, but you cannot insert,… Read More »

## SQL using Python | Set 3 (Handling large data)

It is recommended to go through SQL using Python | Set 1 and SQL using Python and SQLite | Set 2 In the previous articles… Read More »

## Agents in Artificial Intelligence

Artificial intelligence is defined as study of rational agents. A rational agent could be anything which makes decisions, like a person, firm, machine, or software.… Read More »

## Passing a vector to constructor in C++

When class member is a vector object (not a reference). We can simply assign in constructor. filter_none edit close play_arrow link brightness_4 code // Passing… Read More »

## Calendar.before() method in Java

java.util.Calendar.before() is a method in Calendar class of java.util package. The method returns true if the time represented by this Calendar is before the time… Read More »