irfan-akhan / -6Companies30days

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

6Companies30days

I will be sharing 15 Most Asked DSA Questions of 6 Companies. #ReviseWithArsh #6Companies30Days Challenge!

For complete details , go through the video : https://linktw.in/FCGPbm

Benefits (For the ones who complete the Challenge) :

Top 90-100 recent questions by most big tech companies will be done (who knows you get the same question). - (We all have been trusting previous year questions XD) The ones who complete this challenge will be given referrals for top tech companies and startups. A special surprise gift for you. Special 1 on 1 mentoring session on how to plan the things after this challenge - related to projects , revision , CS Fundamentals, Interview Tips , etc. Rules :

You should be completing 1 company (15 Questions) in 5 days and try maintaining a github repository to store all the codes .You can name the repository as #6Companies30days. The questions provided will be on a gap of 5 days for a new company i.e from 1-5th Jan , 6th-10th Jan and so on. You can complete 15 questions as per your time , either 3 questions a day or as per your convenience. You need to start the challenge by putting in a post on LinkedIn , Instagram, Twitter with hashtag #6Companies30days and #ReviseWithArsh and tag “Arsh Goyal” so that your entry can be tracked and you are eligible for referrals and other benefits. Than after every 5 days once a company is done , you can make a post announcing your milestones - Milestone -1 (When company 1 is completed) , Milestone -2 (When company 2 is completed). Let’s get started!

Company Name : Goldman Sachs Questions :link
1.Given an array of strings, return all groups of strings that are anagrams.
2.Overlapping rectangles
3.Count the subarrays having product less than k
4.Given a string, Your task is to complete the function encode that returns the run length encoded string for the given string. eg if the input string is “wwwwaaadexxxxxx”, then the function should return “w4a3d1e1x6″.(Modified version of question named Cute Monkeys) 5.Program to find Nth Ugly Number.
6.Given two strings str1 and str2. We say that str2 divides str1 if it's possible
7. Find the kid which gets tha damaged toy
8. Total Decoding Messages
9.Given a pattern containing only I's and D's. I for increasing and D for decreasing.Devise an algorithm to print the minimum number following that pattern.
10. [Find max 10 numbers in a list having 10M entries.]
11. Given an unsorted array Arr of size N of positive integers. One number 'A' from set {1, 2, …N} is missing and one number 'B'occurs twice in array. Find these two numbers.
12. Find total number of Squares in a N*N chessboard
13.Decode the string
14.Minimum Size Subarray Sum
15.Array Pair Sum Divisibility Problem

Day 1

Given an array of strings, return all groups of strings that are anagrams. LINK
Overlapping rectangles LINK
Count the subarrays having product less than k LINK

Day 2

Given a string, Your task is to complete the function encode that returns the run length encoded string for the given string. eg if the input string is “wwwwaaadexxxxxx”, then the function should return “w4a3d1e1x6″.(Modified version of question named Cute Monkeys)LINK
Program to find Nth Ugly NumberLINK.
Given two strings str1 and str2. We say that str2 divides str1 if it's possibleLINK

Day 3

Find the kid which gets tha damaged toyLINK
Total Decoding MessagesLINK
Given a pattern containing only I's and D's. I for increasing and D for decreasing.Devise an algorithm to print the minimum number following that patternLINK.

Day 4

Find max 10 numbers in a list having 10M entries.LINK
Given an unsorted array Arr of size N of positive integers. One number 'A' from set {1, 2, …N} is missing and one number 'B' occurs twice in array. LINK
Find these two numbers. Find total number of Squares in a N*N chessboardLINK

Day 5

Decode the stringLINK
Minimum Size Subarray Sum LINK
Array Pair Sum Divisibility ProblemLINK

About


Languages

Language:C++ 100.0%