/code-share-interviews

VSCode scaffolding for live code sharing during technical interviews.

Primary LanguageMakefileMIT LicenseMIT

Readme

This repository will be used for coding problem during the interview. Follow the steps below to set up your environment.

Before the Interview

  • Install VSCode.
  • Clone this repository.
  • Be sure to set up your local OS environment and install necessary language SDK following instruction below for the corresponding programming language.
  • Open VSCode and open the directory where you cloned this repository.
  • Go to the extensions pane and click on ''' -> Views -> Recommended. Be sure to install the recommended extensions, specially the one related to the programming language you will be using for the coding problem.
  • Open the code file for your language of choice and ensure you are able to build and debug it. The repository contains all the necessary VSCode launch configurations and tasks for running and debugging the code for the supported programming languages.

During the Interview

  • You will be provided a link to share coding session in VSCode using Live Share.
  • If you have not installed the necessary language SDK and / or ensured that you have been able to debug / run the hello world program, the code share session at your end will be limited to functioning as a text editor. The interviewer will still be able to run the code and help you debug, but full IDE functionality will be very limited at your end.

Programming Language Specific Setup

C / C++

If you are on a Mac or Linux, you should already have the necessary development tools (GCC, G++) installed.

Download and install mingw-w64.

If you are on Windows, I highly recommend installing msys2 (to C:\msys64). After installation, run the following from the msys2 shell:

pacman -Syu
pacman -S base-devel
pacman -S mingw-w64-x86_64-toolchain
pacman -S mingw-w64-x86_64-cmake

CSharp

Install .NET.

Go

Install Go.

Java

Install OpenJDK. I recommend installing the latest LTS version.

Javascript

Install Node.js.

Python

Install Python. I recommend installing the latest stable 3.x version.

Scala

  • Install Scala3 through sbt.
  • Install JDK 11.
  • Update "metals.javaHome" in .vscode/settings.json to point to the correct location for JDK 11.

Typescript

  • Install Node.js.
  • Install Typescript: npm install -g typescript.
  • Install ts- node: npm install -g ts-node.