Git Product home page Git Product logo

software-engineer-interview-qa's Introduction

Software-Engineer-Interview-QA

A number of Software Engineer interview questions and answers

  1. General Questions
  2. Architecture
  3. Problem Solving
+ What is polymorphism?
+ What is encapsulation?
+ What is inversion of control?
+ Design principles:
    - Separation of concerns.
    - Single Responsibility principle.
    - Principle of Least Knowledge.
    - DRY: Don’t repeat yourself.
    - Minimize upfront design.
+ Drawbacks of not using `separation of concerns`.
+ Microservices is a variant of the service-oriented architecture (SOA).
+ What is SOLID Principles of Object Oriented and Agile Design?
    - Single responsibility principle.
    - Open/closed principle.
    - Liskov substitution principle.
    - Interface segregation principle.
    - Dependency inversion principle.
+ Design patterns. 
    - Creational: Builder, Object Pool, Factory Method, Signleton, Multiton, Prototype, Abstract Factory.
    - Structural: Adapter, Bridge, Composite, Decorator, Facade, Flyweight, Proxy.
    - Behavioral: Chain of Responsibility, Command, Interpreter, Iterator, Mediator, Memento, 
                    Observer, State, Strategy.
+ 3-tier architecture?
    - Presentation tier.
    - Application tier.
    - Data tier.
+ 3-layer architecture?
    - DAO (Repository).
    - Business (Service) layer.
    - Controller).
+ What is REST?
+ Idempotent operation EX: The PUT and DELETE methods are referred to as idempotent, 
    meaning that the operation will produce the same result no matter how many times it is repeated.
+ nullipotent operation EX: GET method is a safe method (or nullipotent), 
    meaning that calling it produces no side-effects.
+ (medium) given a collection of numbers and a sum  , find a matching pair that is equal to the sum
    - assume the numbers is sorted
    - assume the numbers is not sorted 
    what is the best complexity you can come up with?
    can you do it in O(n^2) , O(nlog(n)) , O(n) , etc... ? where n is the length of the numbers

    example : [1 , 2 , 3 ,6]  , Sum = 10 , no matching pair
            : [1 , 2 , 4 , 4]  , Sum = 8 , matching pair = (4, 4)
            
+ (Easy) given a string  , find the first recurret charter in the string
    example : 'ABCDA' , answer = 'A'
            : 'ABCBDA' , answer = 'B'
            : 'ABC' , answer = NULL
    find the O(n) answer

software-engineer-interview-qa's People

Contributors

abdelrahman-atia avatar elmarzouki avatar

Stargazers

 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

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.