Skip to content

Instantly share code, notes, and snippets.

🏠
Working from home

Ariful Islam prodhan

View GitHub Profile
View insert-linear-array.cpp
#include <iostream>
using namespace std;
int main()
{
int LA[10]={4,20,8,2,7,6,3,48,62,75};
int n=10, k=5, j, item=100;
for (j = n - 1; j >= k - 1; j--)
View CouponActivity.java
package bd.com.bahadur.bahadurmerchant;
import android.Manifest;
import android.content.Intent;
import android.content.pm.PackageManager;
import android.net.Uri;
import android.os.Build;
import android.support.v4.app.ActivityCompat;
import android.support.v4.content.ContextCompat;
import android.support.v7.app.AppCompatActivity;
@prodhan
prodhan / falseposition_22.cpp
Created Mar 8, 2019
Problem No 22 using False Position
View falseposition_22.cpp
/*
Created By Ariful Islam
Batch E-64 (DIU)
Roll: 34
problem no 22
EQN: x=cubic root (48)
Method: False Position
Note: Root lies between 3 and 4
*/
@prodhan
prodhan / bisection_22.cpp
Created Mar 8, 2019
Problem No 22 using Bisection Method
View bisection_22.cpp
/*
Created By Ariful Islam
Batch E-64 (DIU)
Roll: 34
problem no 22
EQN: x=cubic root (48)
Method: Bisection
Note: Root lies between 3 and 4
*/
@prodhan
prodhan / knapsack.cpp
Created Jan 31, 2019
C++ program to get the maximum total value in the knapsack
View knapsack.cpp
/*
* A c++ program to get the maximum total value in the knapsack
* Created By Ariful Islam
* Student of Dhaka International University
* Batch of E-64
*/
#include<iostream>
@prodhan
prodhan / bisection.cpp
Created Jan 22, 2019
Bisection method in C++
View bisection.cpp
/*
Created By Ariful Islam
Batch E-64 (DIU)
Roll: 34
*/
#include<iostream>
#include <math.h>
using namespace std;
@prodhan
prodhan / binomial_2.cpp
Created Jan 22, 2019
Binomial theorem in c++ with another method
View binomial_2.cpp
/*
Created By Ariful Islam
Batch E-64 (DIU)
Roll: 34
*/
#include<iostream>
#include <math.h>
using namespace std;
@prodhan
prodhan / insertion_sort.cpp
Created Jan 20, 2019
Insertion sort using c++
View insertion_sort.cpp
/*
Created By Ariful Islam
Student of Dhaka Internationa University
Learn how does work this sort https://visualgo.net/en/sorting
*/
#include<iostream>
using namespace std;
@prodhan
prodhan / binomial.cpp
Created Jan 14, 2019
Binomial theorem in c++
View binomial.cpp
/*
Created By Ariful Islam
Batch E-64 (DIU)
Roll: 34
*/
#include<iostream>
#include <math.h>
using namespace std;
@prodhan
prodhan / activity_main.xml
Created Aug 5, 2018
For only educational purpose
View activity_main.xml
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:background="@drawable/bg"
android:weightSum="10"
tools:context=".MainActivity">
You can’t perform that action at this time.