Courses
Tutorials
Jobs
Practice
Contests
Data Structure
Java
Python
HTML
Interview Preparation
Trending Now
DSA
Web Tech
Foundational Courses
Data Science
Practice Problem
Python
Machine Learning
JavaScript
System Design
Django
DevOps Tutorial
Java
C
C++
ReactJS
NodeJS
CP Live
Aptitude
Puzzles
Projects
GBlog
Frontend Developer Roadmap 2024
Frontend development means to design the face of a website or application. It involves working on the appearance of the website. Building interactive buttons, using images...
Read More
Sort given words as Array of Strings
Given an array of strings Arr[]. The task is to sort them in lexicographic order.Examples:Input: Arr[] = {"sort", "this", "list"}Output: [list, sort, this]Input: Arr[] = {...
Read More
Arrays
Strings
Sorting
Geeks-Premier-League-2022
Geeks Premier League
DSA
Find all ranges of consecutive numbers from Array | Set -2 (using Exponential BackOff)
Given a sorted array arr[] consisting of N integers without any duplicates, the task is to find the ranges of consecutive numbers from that array.Examples:Input: arr[] = {...
Read More
Arrays
Sorting
Mathematical
Geeks-Premier-League-2022
Geeks Premier League
DSA
Count of possible rotations of given Array to remove largest element from first half
Given an array arr[ ] with even length N, the task is to find the number of cyclic shifts (rotations) possible for this array, such that the first half of array does not c...
Read More
Arrays
Greedy
rotation
Geeks-Premier-League-2022
Geeks Premier League
DSA
How to share state across React Components with context ?
In a small app, React Context along with useState is the best way to share state or simply pass data around components without mutating it.Context: It provides a way to sh...
Read More
Web Technologies
ReactJS
How to create basic text input in React Native ?
Text input is a basic component that allows users to input text through the keyboard. It is widely used in mobile applications for taking usernames, passwords, user detail...
Read More
Web Technologies
Picked
React-Native
ReactJS
Geeks-Premier-League-2022
Geeks Premier League
Explore the concept of JavaScript Function Scope and different types of JavaScript Functions
JavaScript is based on functional programming. Therefore, functions are fundamental building blocks of JavaScript. So the function is called first-class citizens in JavaSc...
Read More
Web Technologies
JavaScript
Picked
JavaScript-Questions
Geeks-Premier-League-2022
Geeks Premier League
How to replace multiple characters in a string in PHP ?
A string is a sequence of characters enclosed within single or double-quotes. A string can also be looped through and modifications can be made to replace a particular seq...
Read More
Web Technologies
PHP-function
Picked
PHP
PHP-Questions
Geeks-Premier-League-2022
Geeks Premier League
How to create custom FAB(Floating Action Button) in React Native?
React Native doesn't come with any FAB component built-in. A floating action button (FAB) is used whenever you want to display a button on the top of everything. If you ha...
Read More
Web Technologies
React-Native
ReactJS
Geeks-Premier-League-2022
Geeks Premier League
How to find all textarea and paragraphs to make a border using jQuery ?
Given a set of textareas, the task is to apply a border on each of them and subsequently add some paragraphs and then define a border on every paragraph using the jQuery l...
Read More
Web Technologies
Picked
CSS-Properties
JQuery
jQuery-Methods
jQuery-Questions
Geeks-Premier-League-2022
Geeks Premier League
How to enable error reporting in PHP ?
In PHP, we can decide whether to show an error to end-users or not. You can enable or disable error reporting in PHP with three approaches:Approach 1: In the php.ini file,...
Read More
Web Technologies
Picked
PHP
PHP-Questions
What is JavaScript Strict mode and how can we enable it ?
JavaScript is a forgiving language as it ignores developers' or programmers' silly mistakes or errors in code like termination of the statement, variable declaration, the ...
Read More
Web Technologies
JavaScript
Picked
JavaScript-Questions
Geeks-Premier-League-2022
Geeks Premier League
Google Authentication using Passport in Node.js
The following approach covers how to authenticate with google using passport in nodeJs. Authentication is basically the verification of users before granting them access t...
Read More
Web Technologies
Picked
Node.js
NodeJS-Questions
Geeks-Premier-League-2022
Geeks Premier League
What is the drawback of creating true private methods in JavaScript ?
According to other programming languages like c++, java, etc. private is something that can't be shared with other classes, which cannot be accessed directly using objects...
Read More
Web Technologies
JavaScript
Picked
JavaScript-Questions
Geeks-Premier-League-2022
Geeks Premier League
How does JavaScript .prototype work ?
In JavaScript when adding behaviour to objects, then if creating multiple objects using the constructor (calling the constructor function with the 'new' keyword) then the ...
Read More
Web Technologies
JavaScript
Picked
JavaScript-Questions
Geeks-Premier-League-2022
Geeks Premier League
What are template literal types in Typescript ?
Template literal types in typescript are based on string literal types and may be expanded into many strings using unions. They have the same syntax as JavaScript's templa...
Read More
Web Technologies
JavaScript
TypeScript
Picked
JavaScript-Questions
Geeks-Premier-League-2022
Geeks Premier League
1
...
4548
4549
4550
...
11360