GithubHelp home page GithubHelp logo

jicruz96 / holbertonschool-interview Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 2.0 286 KB

Interview practice questions from the Holberton School Specializations Curriculum

Python 25.11% C 73.84% Shell 0.44% JavaScript 0.61%

holbertonschool-interview's Introduction

Holberton School Interview Practice

Description of Interview Practice Questions

Name Description
0x00-lockboxes You have n number of locked boxes. Each box is numbered sequentially from 0 to n - 1 and each box may contain keys to the other boxes. Box 0 is unlocked.

Write a method canUnlockAll(boxes) that returns True if all the boxes can be opened; otherwise, False.
0x01-insert_in_sorted_linked_list You are given an integer number and the head of a sorted singly linked list of integers. Insert number into a node on the linked list and return a pointer to the node.
0x02-heap_insert Write a function in C that inserts a node into a Max Binary Heap
0x03-minimum_operations In a text file, there is a single character H. Your text editor can execute only two operations in this file: Copy All and Paste. Given a number n, write a method that calculates the fewest number of operations needed to result in exactly n H characters in the file.
0x04-sandpiles Write a function that computes the sum of two 3x3 sandpiles.
0x05-linked_list_palindrome Write a function in C that checks if a singly linked list is a palindrome.
0x06-log_parsing Write a script that reads stdin line by line and computes metrics.
0x07-linked_list_cycle Write a function in C that checks if a singly linked list has a cycle in it.
0x08-palindrome_integer Write a function in C that checks if a given unsigned interger is a palindrome.
0x09-utf8_validation Write a method that determines if a given data set represents a valid UTF-8 encoding.
0x0A-slide_line Write a function in C that reproduces the mechanics of the 2048 game on a single horizontal line.
0x0B-menger Write a function that draws a 2D Menger Sponge
0x0C-nqueens Write a program in Python that solves the N Queens problem

holbertonschool-interview's People

Contributors

jicruz96 avatar

Stargazers

 avatar

Watchers

 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.