Skip to main content

Posts

Remote Dictionary Server

  Today I want to discuss about REDIS Cache. In a simple way, it’s like making web apps more effective. What they say ? From Redis  official website , “Redis is an open-source, in-memory data structure store, used as a database, cache and message broker. It supports data structures . I t can be thought as a NOSql DB which store data as a key value pair in the system memory. Now, let’s talk about caching. Difference Between MongoDB And Redis MongoDB is a disk based database optimized for operational simplicity. It has a huge data volumes. And Redis is an in-memory, persistent  data Structure store that is popular for performing operations with maximum effectiveness. Caching Caching is a process where the data are stored in caches so that those can be retrieved faster. It is for making user experience better. Redis Cache As Redis is an in-memory data structure store  where data access operations are performed faster. That’s why it’s the perfect method for caching. The ...
Recent posts

Params in C#

C# HAS A FEATURE. IT CAN SPECIFY A METHOD PARAMETER WHICH WILL TAKE A VARIABLE NUMBER OF  ARGUMENTS. WE USED TO DO THOSE THINGS BY USING POINTER IN C++ C# MAKES OUR LIFE EASIER. ALL WE NEED IS A KEYWORD. AND THAT IS "PARAMS" LET'S HAVE THE FUN REMEMBER, THE PARAMS PARAMETER MUST BE A SINGLE ARRAY.   public class MyClass         {                          public static void amarmethod(params int[] amararrayerkichuelements)             {                                 for (int i = 0; i < amararrayerkichuelements.Length; i++)                 {                     Console.Write(amararrayerkichuelements[i] + " ");                 } ...

Playing with bits...... | PART- 1 |

Hello Code peoples..... How are you doing ? Actually, it's a long time after publishing my last blog about important sites of dynamic programming. Now it's time to discuss some crucial thing about bits. Let's begin. Bits: What are bits ??  Do those things hurt me ? or is it quite difficult to learn the strategy of bit manipulations ? Opppsssss..!!! I use a couple of boring words like b-i-t m-a-n-i-p-u-l-a-t-i-o-n-s Don't afraid. This idea is simple... You know what , bit are more or less a unit.. You can assume a bit as a unit of words.. Do you know the words of computer ? It's 0 and 1... Computer is not versatile as human being as it can talk or manipulates its system by using multiple language.  In computer, all the numbers and all the other data are stored using 2 based number system or in binary format.. Like "10010100" or "00000000" .. See ?? 1 and 0's only. here a single 1 or single  0 will be considered as a...

Some Important learning sites for Dynamic programming

Now, We will discuss some of the most useful sites for learning Dynamic Programming. Here, I have mentioned some of those . :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: medium.freecodecamp.org -  Demystifying Dynamic Programming iarcs.org.in -  Dynamic Programming - Tiling topcoder.com -  Dynamic Programming – From Novice to Advanced illinois.edu -  Dynamic Programming  ;(Exercises are recommended) codechef.com -  Dynamic Programming geeksforgeeks.org -  Dynamic Programming  ;(Contains a lot of practice sessions) MIT OCW (Contains some Advanced topics as well) Dynamic Programming I Dynamic Programming II Dynamic Programming III Dynamic Programming IV Happy Learning...Thanks 😉😉😊😊  

How keyword "this" works at Java

Actually, we have many confusion about the work of this in Java.. One day, I used to think, people are afraid of this thing..So, I should make something to make this proud..😂😂 (this) is a reference  variable. This is used in many situations... So, it's time to see the usages of this in java..... Let's Start::::----- 1.It can be used to refer instance variable of current class. 2. It can be used to invoke or initiate current class constructor.  3. It can be passed as an argument in the method call. 4. It  can be passed as argument in the constructor call let's talk about an example: class Book { string name; string book_id; public void setter(string n,string id) {       name=name;      book_id=id; }  //it can be written by this // public void setter(string n,string id) {      this.name=name;      this.book_id=id; }  public static void main(string args[]) {   ...

LINKED LIST

We will talk about linked list today. Actually, it's a pretty much basic data structure..So,the very first question is what is linked list? 😲😲  ->  Actually, linked list is nothing but a list. We all know that array is also a list.. Linked list is also a list of some variables. Now, we should  why we should use linked list instead of Array? Mmmm..Let's think for a moment...Okey..👀👀.Now, we can see the flows of arrays and linked list. An array is a pre-allocated block of memory holding an ordered bunch of items. Aaaaa....what does it mean?👀👀  Actually, when you declared  👉👉                                        -> int arra[5]; in your code, then the thing is: RAM will allocate blocks of necessary size according to your array size. 😉😉 But, in linked-list, there is no limitations. You can create infinite size of list of elements using th...