Skip to content

Instantly share code, notes, and snippets.

View rhlmshr's full-sized avatar

Rahul Mishra rhlmshr

View GitHub Profile
/**
* Created by Rahul Mishra on 4/4/19.
*/
public class EmojiObject {
private String category ;
private String emojiUnicode ;
private List<String> emojiTags ;
public String getCategory() {
package com.rahulmishra.pathways.Activities;
import android.Manifest;
import android.app.Dialog;
import android.app.Notification;
import android.app.NotificationManager;
import android.app.PendingIntent;
import android.app.ProgressDialog;
import android.content.Context;
import android.content.Intent;
package com.rahulmishra.sarasmelaapp.Fragments;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView;
import android.text.Editable;
import android.text.TextWatcher;
import android.view.LayoutInflater;
package com.rahulmishra.sarasmelaapp.activites;
import android.app.ProgressDialog;
import android.content.Context;
import android.content.Intent;
import android.os.Parcel;
import android.os.Parcelable;
import android.support.design.widget.Snackbar;
import android.support.v4.widget.NestedScrollView;
import android.support.v7.app.AppCompatActivity;
#include <iostream>
#include <map>
using namespace std ;
/* by Rahul Mishra
on 26/09 */
int distinct_value(int arr[], int n) {
map<int, int> freq ;
int counter = 0 ;