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
Capgemini Interview Experience | On-Campus 2020-21
Hello everyone, recently being hired as a fresher in Capgemini as a data analyst for the upcoming year 2021. So, Capgemini had come to our college for the virtual campus r...
Read More
Interview Experiences
Capgemini
On-Campus
Experiences
Python - List Comprehension
A Python list comprehension consists of brackets containing the expression, which is executed for each element along with the for loop to iterate over each element in the ...
Read More
Technical Scripter
Python
python-list
Technical Scripter 2020
Linear Equations in One Variable - Solving Equations which have Linear Expressions on one Side and Numbers on the other Side | Class 8 Maths
Linear equation is an algebraic equation that is a representation of the straight line. Linear equations are composed of variables and constants. These equations are of fi...
Read More
Picked
Mathematics
School Learning
Class 8
Linear Equations
Check if it is possible to reach (X, Y) from (1, 0) by given steps
Given two positive integers X and Y, the task is to check if it is possible to reach (X, Y) from (1, 0) by the given steps. In each step, possible moves from any cell (a, ...
Read More
Mathematical
Recursion
HCF
DSA
Polygon with maximum sides that can be inscribed in an N-sided regular polygon
Given a regular polygon of N sides, the task is to find the maximum sided polygon that can be inscribed inside the given polygon by joining non-adjacent vertices. Print -1...
Read More
Misc
Greedy
Mathematical
Geometric
Geometric-Lines
DSA
Queries to flip characters of a binary string in given range
Given a binary string, str and a 2D array Q[][] representing queries of the form {L, R}. In each query, toggle all the characters of the binary strings present in the indi...
Read More
Strings
Greedy
Searching
binary-string
prefix-sum
array-range-queries
frequency-counting
DSA
Python Program that prints the count of either peaks or valleys from a list
Given a List, the following article shows ways to count elements which are either peak(x y z) or valley(x y z).Input : test_list = [1, 2, 4, 2, 6, 7, 8, 3]Output : 3Ex...
Read More
Python
Python Programs
Python list-programs
Python Program that prints rows from the matrix that have same element at a given index
Given a Matrix, the following article shows how rows which has similar digit at the specified index will be extracted and returned as output.Input : test_list = [[3345, 63...
Read More
Python
Python Programs
Python list-programs
Tableau - Data Terminology
Tableau is the easy-to-use Business Intelligence tool used in data visualization. Its unique feature is, to allow data real-time collaboration and data blending, etc. Thro...
Read More
Tableau
Tableau
Scraping websites with Newspaper3k in Python
Web Scraping is a powerful tool to gather information from a website. To scrape multiple URLs, we can use a Python library called Newspaper3k. The Newspaper3k package is a...
Read More
Python
python-modules
Web-scraping
Python web-scraping-exercises
Minimum number to be added to minimize LCM of two given numbers
Given two numbers A and B, the task is to find the minimum number that needs to be added to A and B such that their LCM is minimized.Examples:Input: A = 6, B = 10Output: 2...
Read More
Mathematical
GCD-LCM
LCM
HCF
number-theory
DSA
Maximum length possible by cutting N given woods into at least K pieces
Given an array wood[] of size N, representing the length of N pieces of wood and an integer K, at least K pieces of the same length need to be cut from the given wooden pi...
Read More
Arrays
Google
Facebook
Binary Search
Divide and Conquer
Searching
interview-preparation
Arrays
DSA
Minimum division by 10 and multiplication by 2 required to reduce given number to 1
Given an integer N, the task is to reduce N to 1 by a minimum number of operations involving multiplication by 2 and division by 10. If 1 cannot be obtained, then print "-...
Read More
Greedy
Pattern Searching
Mathematical
prime-factor
Number Divisibility
number-theory
DSA
Lexicographically smallest subsequence possible by removing a character from given string
Given a string S of length N, the task is to find the lexicographically smallest subsequence of length (N - 1), i.e. by removing a single character from the given string.E...
Read More
Strings
Sorting
Combinatorial
subsequence
C++
lexicographic-ordering
DSA
Count ways to generate N-length array with 0s, 1s, and 2s such that sum of all adjacent pairwise products is K
Given two integers N and K, the task is to find the number of N-length arrays that can be generated by using the values 0, 1, and 2 any number of times, such that the sum ...
Read More
Arrays
Dynamic Programming
Mathematical
Combinatorial
permutation
array-rearrange
Recursion
Permutation and Combination
DSA
1
...
7172
7173
7174
...
11451