Skip to content

Instantly share code, notes, and snippets.

View rhlmalik17's full-sized avatar

Rahul Malik rhlmalik17

View GitHub Profile
@rhlmalik17
rhlmalik17 / mongodb_cheat_sheet.md
Created February 11, 2021 14:19 — forked from bradtraversy/mongodb_cheat_sheet.md
MongoDB Cheat Sheet

MongoDB Cheat Sheet

Show All Databases

show dbs

Show Current Database

@rhlmalik17
rhlmalik17 / set2Question4.java
Created January 19, 2019 12:30
//None of the conditions are executing even if its actually true.
import java.io.*;
import java.util.*;
class set2Question4
{
static public int EvenOddDigitsSum(int input1,String input2)
{
int sum=0,temp,i=0,num=0;
if(input2=="even")