/6Companies30Days

Challenge to solve 90 questions from 6 companies in 30 days !!

Primary LanguageC++

#ReviseWithArsh #6Companies30Days ArshGoyal

#ReviseWithArsh #6Companies30Days Challenge!

Offical Doc:- Explore the docs »
Offical Video:- Explore the Video »


Day 1-5 :

Company Name : Goldman Sachs

  • 1. Given an array of strings, return all groups of strings that are anagrams.Link
  • 2. Overlapping rectangles Link
  • 3. Count the subarrays having product less than k Link
  • 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) Link
  • 5. Program to find Nth Ugly Number. Link
  • 6. Given two strings str1 and str2. We say that str2 divides str1 if it's possible to concatenate multiple str2 to get str1. For example, ab divides abab. if str2 does not divide str1, return -1. Otherwise, return the smallest string str3 such that str3 divides both str1 and str2. Link
  • 7. Find the kid which gets tha damaged toy Link
  • 8. Total Decoding Messages Link
  • 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. Link
  • 10. Find max 10 numbers in a list having 10M entries. Link
  • 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. Link
  • 12. Find total number of Squares in a N*N chessboard Link
  • 13. Decode the string Link
  • 14. Minimum Size Subarray Sum Link
  • 15. Array Pair Sum Divisibility Problem Link