More than just a Searching Algorithm

Image for post
Image for post

Binary Search

In computer science, binary search, also known as half-interval search, logarithmic search, or binary chop, is a search algorithm that finds the position of a target value within a sorted array.

Binary search compares the target value to the middle element of the array. If they are not equal, the half in which the target cannot lie is eliminated and the search continues on the remaining half, again taking the middle element to compare to the target value, and repeating this until the target value is found. …


A dream of every college student who aspires to be a developer.

Image for post
Image for post

What are Developer Student Clubs?

Developer Student Clubs are university based community groups for students interested in Google developer technologies. Students from all undergraduate or graduate programs with an interest in growing as a developer are welcome. By joining a DSC, students grow their knowledge in a peer-to-peer learning environment and build solutions for local businesses and their community.

Developer Student Clubs, Vellore Institute of Technology, Bhopal

Image for post
Image for post

DSC, Vellore Institute of Technology, Bhopal

Developer Student Clubs is an initiative of Google Developers. Google collaborates with DSC Leads once a year who are pursuing an undergraduate or graduate university degree and supports them as they start and grow their on-campus community.

The DSC program is a grassroots channel through which Google provides development skills, mobile and web development skills for students, towards employability. DSC activities are targeted at University students and others including faculty members who want to learn development skills & work to solve real-life problems. …


Read this short, to the point article as it guides you through the most fundamental and essential concepts of React Js

Image for post
Image for post

Starting with the background details

React is a JavaScript library that aims to simplify the development of visual interfaces. Developed at Facebook and released to the world in 2013, it drives some of the most widely used code in the world, powering many software companies.

A Big Misconception

React is a JavaScript “library”. It is not exactly a “framework”. It is not a complete solution and you will often need to use more libraries with React to form any solution. React does not assume anything about the other parts in any solution.

Frameworks serve a great purpose, especially for young teams and startups. When working with a framework, many smart design decisions are already made for you, which gives you a clear path to focus on writing good application-level logic. However, frameworks come with some disadvantages. For experienced developers working on large code bases, these disadvantages are sometimes a deal breaker. …


import localStorage from ‘JavaScript’ ;

Image for post
Image for post

Before starting this article, I want to take a moment to thank you guys for so much loving and support to the first part of this article, I got an amazing response on that and many people texted me saying it was amazing and they are eagerly waiting for the second part.

So yes, your wait is over, and lets get started!

Let’s recapitulate what all we have covered —

So last weekend, I released the first part of the article, “A Complete Guide to LocalStorage in JavaScript: Part-1” in which I introduced you with the theoretical details of the JavaScript localStorage, which were as follows —

  • What is localStorage? …

In this short, to the point article, I’ll guide you through the complete theoretical explanation and practical implementation of localStorage in JavaScript.

Image for post
Image for post

This article is divided into of two parts:

  • Part-1: Theoretical Explanation
  • Part-2: Practical Implementation

A Theoretical Explanation for localStorage

What is a localStorage?

localStorage is a type of web storage that allows JavaScript sites and apps to store and access data right in the browser with no expiration date. This means the data stored in the browser will persist even after the browser window has been closed. The stored data is saved across browser sessions.

Data in a localStorage object created in a "private browsing" or "incognito" session is cleared when the last "private" tab is closed.

Methods and Properties provided by Storage Object

  • setItem(key, value) – store key/value pair.
  • getItem(key) – get the value by key. …

In this short, to the point article, I’ll be guiding you through the complete process of learning React and becoming efficient in it.

Image for post
Image for post
A practical road-map for React development

A theoretical Introduction to React

React is a JavaScript library that aims to simplify the development of visual interfaces. Developed at Facebook and released to the world in 2013, it drives some of the most widely used code in the world, powering many software companies.

Companies Using React

Image for post
Image for post
Stack-1

In this short, yet comprehensive article, I’ll walk you through the complete process of Integrating your Django back-end application with React front-end.

Image for post
Image for post

Hopefully, it helps you understand powerful inbuilt features of Django, as it’s difficult to wrap your head around when you’re first starting. Source code will be provides towards the end of the article.

PREREQUISITES:-

  • Familiarity with Django and it’s file structure.
  • Basics of React.

GOAL:-

Create a Hello-World App to understand the linking process of Django and React.

Note: Since there are many ways to do the same task, In this article I will be discussing the one which I find most suitable and handy. …


# importing a necessary module before we get started

from Focus import *

Image for post
Image for post

I wanted to write a simple application of Django and show how simple it is to carry out complex tasks with Django.

Hopefully it helps you understand powerful inbuilt features of Django, as it’s a difficult to wrap your head around when you’re first starting out.

Prerequisites

  • Basic HTML and Python.
  • Familiar with Basic Django workflow.

Goals

Create a Login/Registration System using Django, and get familiar with the workflow of Django.

Features

With the Django Login/Registration System you can take advantages of the following features:

  • Login
  • Logout
  • Sign up
  • Password…

Chrome! Chrome! Chrome!

Image for post
Image for post

In this article, I would be briefing you about the Chrome Extension and how can you develop your browser extension.

So, let’s get started with some basics formal definition.

What is a browser extension?

A browser extension is a small software module for customizing a web browser. Browsers typically allow a variety of extensions, including user interface modifications, ad blocking, and cookie management. Browser plug-ins are a separate type of module.

Well, Abhishek that all went above my head, can’t you tell me that in simple words…?

Okay, In simple words, we can say that a browser extension is a computer program that extends the functionality of the browser, and can make your work easier by introducing new features. …


Image for post
Image for post
Hash it!

Introduction :

Hashing is an important Data Structure which is designed to use a special function called the Hash function which is used to map a given value with a particular key for faster access of elements. The efficiency of mapping depends of the efficiency of the hash function used.

Let a hash function H(x) maps the value

at the index x%10 in an Array. For example if the list of values is [11,12,13,14,15] it will be stored at positions {1,2,3,4,5} in the array or Hash table respectively.

Image for post
Image for post

Phase-1 Learning

Suppose we want to design a system for storing employee records keyed using phone numbers. And we want following queries to be performed efficiently:

  1. Insert a phone number and corresponding information.
  2. Search a phone number and fetch the information. …

About

Abhishek Srivastava

@Google DSC LEAD | Web developer | Technical Writer | Competitive coder| Open Source Contributor | Mentor @StudentCode-in | Learner | TheProgrammedEnthusiast |

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store