Skip to content
  • [email protected]
Notice: This is not official website of IGNOU. For IGNOU website CLICK HERE

IgnouGroup

IgnouGroup Social Campus

  • Home
  • About
    • Jobs for Ignou Students
  • Online Admission
  • Products
    • Solved Assignments
    • Other Downloads
  • Blog
  • Contact
  • Ask Questions

Category: Uncategorized

[Solved]: Is this probability distribution data structure already discovered?

February 8, 2017March 27, 2017 ignougroup

Problem Detail: Problem formulation I have implemented an interesting probability distribution data structure: having $n$ elements $a_1, a_2, dots, a_n$ in the data structure with respective positive weights $w_1, w_2, dots, w_n > 0$, upon request each $a_i$ may be returned Read More …

Uncategorized

[Solved]: Finding farthest item in an array with duplicates

February 8, 2017March 27, 2017 ignougroup

Problem Detail: I have an array $A[]$ of size $L$, which contains numbers in the range $1 ldots N$. Here $L>N$, so the array will contain repetitions. If $x,y$ are two numbers that are both present in the array, define the Read More …

Uncategorized

[Solved]: Counting subarrays that satisfy either of two conditions

February 8, 2017March 27, 2017 ignougroup

Problem Detail: We have an array of integers $a[]$, with each $|a[i]| leq 10^{6}$, $size(a)leq10^{5}$, and $a[i]-a[i-1]leq100$. Then we define the term range as a subarray $[x,y]$ of the array $a[]$, $x lt y$. We need to find total number of Read More …

Uncategorized

[Solved]: In the Gas-Up problem, how is the amount of gas the same up to a cyclic shift regardless of starting city?

February 8, 2017March 27, 2017 ignougroup

Problem Detail: I’m working through Elements of Programming Interviews as practice for finding a job. I’ve spent a ridiculous amount of time on Problem 18.7. In the gas-up problem, $n$ cities are arranged on a circular road. You need to visit Read More …

Uncategorized

[Solved]: What is the time complexity of this atrocious algorithm?

February 8, 2017March 27, 2017 ignougroup

Problem Detail: This grew out of a discussion of deliberately bad algorithms; credit to benneh on the xkcd forums for the pseudocode algorithm, which I’ve translated to Python so you can actually run it: def sort(list): if len(list) < 2: return Read More …

Uncategorized

[Solved]: Show that a regular language L contains only palindromes if and only if all words of length at most 3n are palindromes

February 8, 2017March 27, 2017 ignougroup

Problem Detail: This is an extension of a previous question asked by a different user earlier: Let $x, u, v, w, y, x’, u’, v’, w’, y’$ be words satisfying $y’x’ = xy$. $y’u’x’ = xuy$. $y’v’x’ = xvy$. $y’w’x’ = Read More …

Uncategorized

[Solved]: Show that the halting problem is decidable for one-pass Turing machines

February 8, 2017March 27, 2017 ignougroup

Problem Detail: $L={<!M,x!>, mid M’s text{ transition function can only move right and } Mtext{ halts on } x }$. I need to show that $L$ is recursive/decidable. I thought of checking the encoding of $M$ first and determine whether its Read More …

Uncategorized

[Solved]: If NP is not a proper subset of coNP, why does NP not equal coNP?

February 8, 2017March 27, 2017 ignougroup

Problem Detail: I am studying some lecture notes on the complexity of algorithms. The notes give a proof that NP is not a proper subset of coNP. However, they still assert that NP is a subset of coNP (which I agree Read More …

Uncategorized

[Solved]: Why do the swap step in Prim’s algorithm for minimum spanning trees?

February 8, 2017March 27, 2017 ignougroup

Problem Detail: I was watching the video lecture from MIT on Prim’s algorithm for minimum spanning trees. Why do we need to do the swap step for proving the theorem that if we choose a set of vertices in minimum spanning Read More …

Uncategorized

[Solved]: Complexity of GF(2) and applications to cryptography

February 8, 2017March 27, 2017 ignougroup

Problem Detail: If I have a system of N polynomial equations with N unknowns in GF(2): What are some good methods to solve them? What’s the highest value of N that can be reasonable solved? Now, my root interest isn’t GF, Read More …

Uncategorized

Posts navigation

Older posts
Newer posts

For Assignment

Click Here Online Classes

IGNOU Exam Date Sheet

CLICK HERE For Assignment

Ask Question

Important Links


Re-Registration BCA_New 2025 Started


IGNOU hall ticket January

MCA _new Portal

BCA _New Portal

MBA Portal

 Previous Year Question Paper

Application form for Reevaluation

Recent Posts

  • IUL PHD – Entrance – Computer Application
  • Integral University Entrance Test [IUET]-2025
  • Briefly discuss the importance of Foreign Language learning. – JULY 2023 CGL ASSIGNMENTS
  • Ergänzen Sie die Lücken!
  • Ques : Describe Component Based Development

Products

  • Placeholder Reverse Withdrawal Payment ₹0.00
  • Placeholder Test 1 (Copy)
  • Placeholder Test 1
  • IGNOU MCA 5th Semester Solved Assignment December 2022-23 IGNOU MCA 5th Semester Solved Assignment December 2022-23 ₹25.00 Original price was: ₹25.00.₹20.00Current price is: ₹20.00.
  • IGNOU MCA 5th Semester Solved Assignment December 2022-23 IGNOU MCA 5th Semester Solved Assignment December 2022-23 ₹25.00 Original price was: ₹25.00.₹20.00Current price is: ₹20.00.

Categories

Archives

Services

  • About Us
  • Contact Us
  • Privacy Policy
  • Terms & Conditions
  • Exchange & Cancellation Policy

Products

  • Placeholder Reverse Withdrawal Payment ₹0.00
  • Placeholder Test 1 (Copy)
  • Placeholder Test 1

Partnership & Affiliation

  • Organic Farming
  • Festivals & Rituals
  • Indian Politics 360
  • Activity
  • Groups
  • Members
  • Register
  • About
  • Privacy Policy
  • Exchange & Cancellation Policy
  • Terms and Conditions
Copyright. All rights reserved.
Proudly powered by WordPress | Education Hub by WEN Themes
sponsored