Miscellaneous

## Check if a number N starts with 1 in b-base

Given a number N and base b if N in base b representation starts with 1 print Yes else print No Examples : Input :… Read More »

## Amazon Interview Experience | Set 355 (For 1 Year Experienced)

I recently got an interview call from Amazon (Chennai) for the Kindle team. Here is my experience:- Round 1 – It was written round (Pen… Read More »

## Minimum sum of squares of character counts in a given string after removing k characters

Given a string of lowercase alphabets and a number k, the task is to print the minimum value of the string after removal of ‘k’… Read More »

## Sum of product of all pairs of array elements

Given an array A[] of integers find sum of product of all pairs of array elements i. e., we need to find of product after… Read More »

## Multiple of x closest to n

Given two numbers n and x, we need to calculate the smallest value of x that is closest to given number n. Examples: Input :… Read More »

## Maximum sum of distinct numbers such that LCM of these numbers is N

Given a positive number N. The task is to find maximum sum of distinct numbers such that the LCM of all these numbers is equal… Read More »

## How to insert elements in C++ STL List ?

List has been discussed in many articles, but the sole purpose of this article is to cover all types of insertions that are possible to… Read More »

## What are the benefits of interning as content writer at GeeksforGeeks?

How to get Technical Content Writing at GeeksforGeeks How to do Freelance Technical Content Writing at GeeksforGeeks Content Writing internships generally are available at GeeksforGeeks… Read More »

## GeeksforGeeks – Official Partner of Pragyan

Today’s world is driven by individuals who have a thirst for bringing the concepts taught on paper to life. They believe in building real world… Read More »

## Number Theory | Generators of finite cyclic group under addition

Given a number n, find all generators of cyclic additive group under modulo n. Generator of a set {0, 1, … n-1} is an element… Read More »

## Find maximum (or minimum) sum of a subarray of size k

Given an array of integers and a number k, find maximum sum of a subarray of size k. Examples : Input : arr[] = {100,… Read More »

## Accolite Interview Experience | Set 15 (On-Campus)

1st round consisted of 20mcq questions to be answered in 30 minutes. Around 120 students appeared for the test. Top 5 were called directly for… Read More »

## Finding the number of triangles amongst horizontal and vertical line segments

Prerequisites: BIT Given ‘n’ line segments, each of them is either horizontal or vertical, find the maximum number of triangles(including triangles with zero area) that… Read More »

## Longest Geometric Progression

Given a set of numbers, find the Length of the Longest Geometrix Progression (LLGP) in it. The common ratio of GP must be an integer.… Read More »

## A Step by Step Guide for Placement Preparation | Set 2

Prerequisite – Set 1 Tech giants look for the candidates who generally are excellent in algorithm designing and coding. You can surely not skip data… Read More »