DEV Community

Cover image for Writing a Leetcode Kotlin Android App - Day 1
Stephan Branczyk
Stephan Branczyk

Posted on

Writing a Leetcode Kotlin Android App - Day 1

This post is a continuation of my previous post on the idea of creating an Android app for Leetcode problems.

Outline of Initial Mockup - V 0.1

Three screens

  • List of Leetcode Problems (3 problems to begin with)
    • Two sum - problem 1
    • Palindromic Substrings - problem 647
    • House robber - problem 198
  • Problem Statement Screen
  • Coding Solution Screen

Mockup - V 0.2

Readability

  • Summarized problem statement
  • Very large font
  • Summarized solution
  • Actual code solution

Flexible form factor

  • Vertical view on phone
  • Landscape view on tablet

Underlying principles

ASCII diagrams

Do all my explanatory diagrams in ASCII text. Knowing how to draw diagrams in ASCII is an advantage for interviewees during remote coding interviews.

Active Recall

Use cloze deletions to keep the architecture of my app simpler

  • Reveal each cloze one at a time or all at once
  • Prototype what I have in mind on Anki

Other ideas

  • Link to original problem
  • Link to launch youtube videos related to problem

Once list of problems gets long enough

  • Add Bookmark Icon to list and problems
  • Add easy/medium/hard ranking
  • Add search functionality
  • Add categorizations
  • Add links to related problems

Top comments (0)