Coder Social home page Coder Social logo

algorithmcrackers / interview-questions Goto Github PK

View Code? Open in Web Editor NEW
241.0 12.0 126.0 6.03 MB

List of all the Interview questions practiced from online resources and books

Java 45.23% Makefile 0.38% C 2.34% Python 21.56% C++ 3.91% Swift 1.72% Kotlin 2.31% JavaScript 22.56%
interview-questions interview-preparation interview-practice interviews interview data-structures datastructures algorithm algorithm-challenges linked-list stack queue tree graph oop sorting-algorithms sort

interview-questions's Introduction

Interview-Questions

Courtesy xkcd

Contributions

  • Anyone is welcome to add other Q&A here through a pull request
  • Please make sure you upload to the right folder
  • If you are unsure of its category, add it to Misc.
  • If you dont have an answer, just add the question to a relevant README.md or raise an issue.

Thanks

interview-questions's People

Contributors

prakashn27 avatar santhoshvai avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

interview-questions's Issues

Add team blind's curated list

https://www.teamblind.com/post/New-Year-Gift---Curated-List-of-Top-75-LeetCode-Questions-to-Save-Your-Time-OaM1orEU

Array

Binary

Dynamic Programming

Graph

Interval

Linked List

Matrix

String

Tree

Heap

Redefine structure of repo

lets redefine the structure of repository with all the questions in readme file and links in the corresponding files. by this way it would be easy for us to reference later.

check StringReverseInplace

I am getting runtime exception while running the code. but it looks correct to me.
Check and let me know where i am wrong.

redundancy check

  1. what does this mean in 13th line
    stack[-1] += 1

  2. is the code actually checking the redundancy check
    (a+b) - TRUE
    ((a+b)) - FALSE
    for second input would it give the correct error??

Interesting Dyn. Pgming question

You have an array of english words {cat, then, hen, end, dog}. Can you make out if the given sentence is a concatenation of only words from the array?

Cathen -> valid
thend -> not valid
cathenend -> valid


I think a trie can be used here. Like a suffix tree. What do you think? (google qn btw)

EDIT: GFG link

todo.md

the todo.md is more personal for you. It should rather be for a set of goals for the whole repo. Please delete it. I already made a public link in the root README.md to the todo list of wunderlist that we have.

Typo

In 44ded4c, minor typo for permutation.

P.S: Also, do document the code well. Your recent commits have been very good but they lack in documentation. When someone else to looks at your code, it takes a while to understand.

Add new Amazon SDE-1 questions from leetcode

See https://leetcode.com/discuss/interview-question/488887/amazon-final-interview-questions-sde1

* not required to solve
~ solve both iteratively and recursively
  • Two Sum Easy
  • Median of Two Sorted Arrays * (#4)
  • Longest Palindromic Substring (#5)
  • String to Integer (atoi) (#8)
  • Integer to Roman (#12)
  • Roman to Integer (#13)
  • Valid Parentheses (#20)
  • Merge K Sorted Lists (#23)
  • Valid Sudoku (#36)
  • Combination Sum (#39)
  • Permutations (#46)
  • Merge Intervals Medium
  • Rotate List (#61)
  • Word Search (#79)
  • Validate Binary Search Tree(#98)
  • Same Tree ~ (#100)
  • Symmetric Tree ~ (#101)
  • Binary Tree Level Order Traversal (#102)
  • Convert Sorted List to Binary Search Tree (#109)
  • Populating Next Right Pointers in Each Node (#116)
  • Best Time to Buy and Sell Stock Easy
  • Word Ladder II (#126)
  • Word Ladder (#127)
  • LRU Cache (#146)
  • Min Stack (#155)
  • Number of Islands (#200)
  • Course Schedule (#207)
  • Course Schedule II (#210)
  • Integer to English Words (#273)
  • Game of Life (#289)
  • Find Median from Data Stream (#295)
  • Longest Increasing Subsequence (#300)
  • Design Tic-Tac-Toe (#348)
  • Pacific Atlantic Water Flow (#417)
  • Minesweeper (#529)
  • Diameter of Binary Tree (#543)
  • Reorganize String (#767)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.