Citi Flashcards

1
Q

Write a recursive algorithm finding the height of a binary tree.

A

https://learn.co/lessons/recursion-readme

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Why do you want to work at citi

A
  • Alumni

- Job desc

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

types of data structures:

A
  • Arrays
    -Objects
    -Queues (FIFO)
    -Linked List ( [1][ ] –> [2][ ] –> [3][ ] –> …)
    -Trees
    -Tries
    -Graphs
    -Hash tables
    -

https://www.educative.io/blog/javascript-data-structures

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

how I would implement a certain class in using JS OOP

A

CLASS CONSTRUCTOR KEYWORD NOW AVAIL

class User {
  constructor(name, email) {
    this.name = name;
    this.email = email;
  }

sayHello() {
console.log(Hello, my name is ${this.name});
}
}

let sarah = new User('sarah', 'sarah@gmail.com');
sarah.sayHello();
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

what I enjoyed about the languages I programmed in

A
  • Ruby - simple, active, benevolant, do more in less time
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What would people say are your strengths and weaknesses?

A

-Needing a challenge/engagement/meaning

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

How would you design a web server to handle fetch requests?

A

https://dmitripavlutin.com/javascript-fetch-async-await/

const fetcher = new FetchDecoratorBadStatus(
  new Fetcher()
);
async function fetchMoviesBadStatus() {
  const response = await fetcher.doFetch('/movies');
  const movies = await response.json();
  return movies;
}
fetchMoviesBadStatus().then(movies => {
  // When fetch succeeds
  movies;
}).catch(error => {
  // When fetch ends with a bad HTTP status, e.g. 404
  error.message;
});
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Describe your current and future career goals.

A

I just want to build useful things, and eventually architect useful things, increasing in scope and responsibility as I go.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

How many years do you see yourself in this role?

A

All I care about today is joining a good team of good people and proving my value. I’m not thinking about years or an exit– I’m thinking about what can I do to earn and capitalize on opportunities.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Why do I think I will be a better candidate than someone else?

A
  • Pedigree
  • Upside
  • Want to be here
  • Character
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

OOP design a parking lot

A

Classes (att) - parkingLot(spacesGrid?), vehicle(size, fare), space(isOpen, currentFare)

Functions - farecalc, park, leave, optSpace

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

OOP design a parking lot

A

Classes (att) - parkingLot(spacesGrid?), vehicle(size, fare), space(isOpen, currentFare)

Functions - farecalc, park, leave, nearestSpace

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

OOP design a parking lot

A

Classes (att) - parkingLot(spacesGrid?), vehicle(size, fare), space(isOpen, currentFare)

Functions - farecalc, park, leave, nearestSpace, tow

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What preference do you have for front end vs back end dev.

A

I enjoy doing it all, lately I’ve been enjoying algo problems a lot but I’m happy to work on the front, back, or both

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Explain const

A
  • type of es6 variable
  • properties of arrays and objects can change
  • number or string cannot be changed
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Explain const

A
  • type of es6 variable
  • properties and values of arrays and objects can change
  • primitives cannot change
  • cannot be reassigned, incl obj & arr
17
Q

What is MVC?

A

View: what an end user on a website experiences when interacting with a program in their browser: what they read, what they click, what flashes at them, and what they hear (despite the name “view”). In technology-speak, the vocabulary word would be interface
Model: where the actual data, (be it information about restaurants, train times, or rare marsupials), resides and is altered
Controller: what manages communication between the two: it takes model information and prepares it for the view and vice versa

18
Q

Favorite Book?

A

-SAR

19
Q

Benefits of using react components? react components vs functional

A
  • Modularity

- Reusability

20
Q

Why this role?

A
  • Support
  • Team
  • Vibe
  • Variety
  • Scale
21
Q

Walk me through your employment history

A

Yodle-

  • Large agency - SEO websites for SMBs
  • Tech: HTML, Templates/Mockups, Basic DB & CMS manipulation, Macros, Excel, Outsourcing, Regression, Analytics/reporting

BAS-

  • Vistaprint competitor
  • Tech: JS, Excel, Analytics, Scraping

ALE

  • My biz
  • Tech: Marketing & SEO website updates; to Scrapers & lead gen; to now Full stack app development

NOW I WANT TO JOIN A DEVELOPMENT TEAM AND REALIZE MY POTENTIAL AS A TEAM AND WORK ON BIGGER THINGS

22
Q

Knowledge of business/industry? inv banking?

A
  • Lending
  • cards
  • I.banking - Fin adv for corporations, IPOs, mergers
  • First woman CEO in 2021
23
Q

Walk me through your employment history: yodle

A
  • Large agency - SEO websites for SMB - mktg analyst
  • Tech: HTML, Templates/Mockups, Basic DB & CMS manipulation, Macros, Excel, Outsourcing, Regression, Analytics/reporting
24
Q

Walk me through your employment history: bas

A
  • Vistaprint competitor

- Tech: JS, Excel, Analytics, Scraping

25
Q

Walk me through your employment history: ale

A
  • My biz
  • Tech: Marketing & SEO website updates; to Scrapers & lead gen; to now Full stack app development

NOW I WANT TO JOIN A DEVELOPMENT TEAM AND REALIZE MY POTENTIAL AS A TEAM AND WORK ON BIGGER THINGS

26
Q

Walk me through your employment history: ale

A
  • My biz
  • Tech: Marketing & SEO website updates; to Scrapers & lead gen; to now Full stack app development

NOW I WANT TO JOIN A DEVELOPMENT TEAM AND REALIZE MY POTENTIAL AS A TEAM AND WORK ON BIGGER THINGS

27
Q

Walk me through your projects. - SS

A

Software Shopper (Accounting Edition) - React App with Redux State Management
A place for corporate decision makers to research accounting software.
https://github.com/theouternet/ssh-front-v2
https://github.com/theouternet/ssh-api-v6

Tech Used:

  • React (With create-react-app)
  • react-router, RESTful Routing
  • Redux middleware, redux-thunk
  • Postgres Database
  • ActiveRecord
  • Rails MVC Backend / API
  • Heroku Hosting
28
Q

Walk me through your projects. - VH

A

Value Hour - Rails App with jQuery Front End
Find & Share The Best Happy Hour Pricing Near You.
https://github.com/theouternet/valuehourr

Tech Used:

  • Translates JSON to JS model objects
  • Dynamically renders both user input and data from JSON backend via JavaScript with no refresh
  • Rails MVC Backend
  • SQLite Database
29
Q

Walk me through your projects. -

A

Job Leads - Sinatra Web Framework (Ruby) App
A place to report job leads & provide actionable data.
https://github.com/theouternet/sinatra-portfolio-project-whos-hiring

Tech Used:

  • Sinatra MVC (Model-View-Controller) architecture: Separation of concerns
  • ActiveRecord
  • SQLite Database
  • Models use has_many, belongs_to etc. associations and data validation
30
Q

Walk me through your projects.

A

Best Movies Near Me - Ruby CLI App

https://github.com/theouternet/cli-data-gem-project

31
Q

Walk me through your projects.

A

Nodejs project with vuejs frontend