A PHP Error was encountered

Severity: Warning

Message: fopen(/tmp/ci_sessiondgc7dvp02bu8jtfacoum7rvbgpfns0pa): failed to open stream: No space left on device

Filename: drivers/Session_files_driver.php

Line Number: 176

Backtrace:

File: /var/www/html/application/controllers/Project.php
Line: 10
Function: __construct

File: /var/www/html/index.php
Line: 311
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: session_start(): Failed to read session data: user (path: /tmp)

Filename: Session/Session.php

Line Number: 143

Backtrace:

File: /var/www/html/application/controllers/Project.php
Line: 10
Function: __construct

File: /var/www/html/index.php
Line: 311
Function: require_once

BitMasking basic operations in Java | Jaswinder
Coders Packet

BitMasking basic operations in Java

By Jaswinder Singh

This code is useful for performing basic operations like clearing ith bit, setting ith bit, and finding ith bit using BitMasking Techniques.

This code is designed to perform all the basic operations in bits. As the bits are a very optimized way for reducing complexity and increasing performance.

By using BitMasking.java you can clear an ith bit, find ith bit, set ith bit, or perform all these tasks simultaneously.It internally uses bitwise operators to shift bits as per requirements.

This code is generally useful in solving many DP problems as we are directly dealing with bits which reduces process time.

Download Complete Code

Comments

No comments yet

Download Packet

Reviews Report

Submitted by Jaswinder Singh (Jaswinder)

Download packets of source code on Coders Packet