Skip to content
Gblog Must Do Coding Questions for Product Based Companies
As the placement season is back, GeeksforGeeks is here to help you crack the interview. We have selected some most commonly asked and MUST DO… Read More
Vectors are same as dynamic arrays with the ability to resize itself automatically when an element is inserted or deleted, with their storage being handled… Read More
Sets are a type of associative containers in which each element has to be unique because the value of the element identifies it. The… Read More
Multisets are a type of associative containers similar to set, with an exception that multiple elements can have same values.Some Basic Functions associated with multiset: begin()… Read More
Maps are associative containers that store elements in a mapped fashion. Each element has a key value and a mapped value. No two mapped values… Read More
Multimap is similar to map with an addition that multiple elements can have same keys. Also, it is NOT required that the key value and… Read More
Sorting is one of the most basic functions applied to data. It means arranging the data in a particular fashion, which can be increasing or… Read More
Binary search is a widely used searching algorithm that requires the array to be sorted before search is applied. The main idea behind this algorithm… Read More
The Standard Template Library (STL) is a set of C++ template classes to provide common programming data structures and functions such as lists, stacks, arrays,… Read More
This article is extension of Commonly asked DBMS interview questions | Set 1. Q. There is a table where only one row is fully repeated.… Read More
Fibonacci coding encodes an integer into binary number using Fibonacci Representation of the number. The idea is based on Zeckendorf’s Theorem which states that every… Read More
Online test: Part 1: Written Platform: Cocubes 15 MCQs 30 min 2 questions 1 hour 1) Longest Even Length Substring Given a string of digits.… Read More
Given a digit ‘d’ and a range [L, R] where L < R, print all good numbers in given range that don’t contain digit ‘d’.… Read More
We have an array arr[0 . . . n-1]. We should be able to efficiently find the minimum value from index L (query start) to… Read More
I recently interviewed for Visa Inc. on our campus. Coding Test: Platform: Hackerrank Questions: Find the number of islands https://www.geeksforgeeks.org/maximum-profit-by-buying-and-selling-a-share-at-most-twice/ I dont remember the other… Read More
First f2f (45 mins) 1. General introduction about academics and work experience. 2. Given an array of 0 and 1, sort in most optimal way.… Read More