Skip to main content
0:01est. 2 min

Cisco

// How does The React update lifecycle go
// JavaScript basics, like hoisting and closure and scope.
// One algorithm simple sort based question
// Routers and Angular Compilation phase

// 1. Check validity of IPV4 string. I used regex to set pattern and match. You can find many examples online.
// 2. Given N, where 1 <= N <= 10000. Output a chess board pattern like
// if N = 5
// WBWBW
// BWBWB
// WBWBW
// BWBWB
// WBWBW
// 3. [Java/python] Given a string containing braces '{', '[', '(', ')', '}', ']'. Check if the string is balanced. If yes, return how many braces there are and if not return -1;